Details

Time bar (total: 32.9s)

sample99.0ms

Algorithm
intervals
Results
25.0ms35×body2560valid
22.0ms189×body80valid
16.0ms28×body1280valid
10.0ms95×body80nan
6.0ms14×body640valid
4.0msbody5120valid
2.0msbody320valid
1.0msbody160valid

simplify658.0ms

Calls
1 calls:
Slowest
658.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.6b

localize34.0ms

Local error

Found 4 expressions with local error:

21.9b
(sqrt (fma (* a c) -4 (* b b)))
1.1b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
1.0b
(fma (* a c) -4 (* b b))
0.1b
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×prod-diff
23×*-un-lft-identity
21×add-cube-cbrt
16×sqrt-prod
neg-mul-1
add-log-exp
expm1-log1p-u pow1 add-cbrt-cube fma-neg add-exp-log insert-posit16 log1p-expm1-u associate-/l*
div-sub div-inv difference-of-squares
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg flip3-- pow1/2 diff-log fma-udef flip-- distribute-lft-out-- associate-/l/
Calls
4 calls:
Slowest
24.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
12.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series214.0ms

Calls
4 calls:
Slowest
76.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
54.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
51.0ms
(sqrt (fma (* a c) -4 (* b b)))
33.0ms
(fma (* a c) -4 (* b b))

simplify5.2s

Calls
77 calls:
Slowest
161.0ms
(- (* 2 (/ (* a c) b)) (* 2 b))
138.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (- (* (sqrt (cbrt (fma (* a c) -4 (* b b)))) (sqrt (* (cbrt (fma (* a c) -4 (* b b))) (cbrt (fma (* a c) -4 (* b b))))))))
119.0ms
(* -2 (/ (* a c) b))
118.0ms
(fma 1 (- b) (- (* (sqrt (fma (* a c) -4 (* b b))) (sqrt 1))))
117.0ms
(fma (sqrt (- b)) (sqrt (- b)) (- (* (sqrt (cbrt (fma (* a c) -4 (* b b)))) (sqrt (* (cbrt (fma (* a c) -4 (* b b))) (cbrt (fma (* a c) -4 (* b b))))))))

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.5b

localize6.0ms

Local error

Found 4 expressions with local error:

21.9b
(sqrt (fma (* a c) -4 (* b b)))
1.1b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
1.0b
(fma (* a c) -4 (* b b))
0.2b
(* (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) (/ 1 a))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
24×*-un-lft-identity prod-diff
22×add-cube-cbrt
16×sqrt-prod
neg-mul-1
pow1 add-cbrt-cube add-exp-log add-log-exp
expm1-log1p-u fma-neg associate-*r* associate-*l* insert-posit16 log1p-expm1-u
div-inv difference-of-squares
associate--l- neg-sub0 frac-times rem-sqrt-square sub-neg flip3-- pow1/2 diff-log pow-prod-down associate-*l/ prod-exp associate-*r/ un-div-inv *-commutative cbrt-unprod fma-udef flip-- distribute-lft-out--
Calls
4 calls:
Slowest
11.0ms
(* (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) (/ 1 a))
6.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
1.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series201.0ms

Calls
4 calls:
Slowest
62.0ms
(* (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) (/ 1 a))
51.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
47.0ms
(fma (* a c) -4 (* b b))
41.0ms
(sqrt (fma (* a c) -4 (* b b)))

simplify5.9s

Calls
85 calls:
Slowest
292.0ms
(* (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) (/ 1 a))
237.0ms
(* (* (* (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)) (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)) (* (* (/ 1 a) (/ 1 a)) (/ 1 a)))
231.0ms
(* (- (- b) (sqrt (fma (* a c) -4 (* b b)))) (/ 1 a))
222.0ms
(+ (log (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)) (log (/ 1 a)))
151.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (- (* (sqrt (fma (* a c) -4 (* b b))) 1)))

prune1.5s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.5b

localize2.0ms

Local error

Found 4 expressions with local error:

21.9b
(sqrt (fma (* a c) -4 (* b b)))
1.1b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
1.0b
(fma (* a c) -4 (* b b))
0.1b
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×prod-diff
23×*-un-lft-identity
21×add-cube-cbrt
16×sqrt-prod
neg-mul-1
add-log-exp
expm1-log1p-u pow1 add-cbrt-cube fma-neg add-exp-log insert-posit16 log1p-expm1-u associate-/l*
div-sub div-inv difference-of-squares
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg flip3-- pow1/2 diff-log fma-udef flip-- distribute-lft-out-- associate-/l/
Calls
4 calls:
Slowest
25.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
12.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series247.0ms

Calls
4 calls:
Slowest
88.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
72.0ms
(sqrt (fma (* a c) -4 (* b b)))
45.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
42.0ms
(fma (* a c) -4 (* b b))

simplify5.2s

Calls
77 calls:
Slowest
138.0ms
(fma 1 (- b) (- (* (sqrt (cbrt (fma (* a c) -4 (* b b)))) (sqrt (* (cbrt (fma (* a c) -4 (* b b))) (cbrt (fma (* a c) -4 (* b b))))))))
119.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (- (* (sqrt (cbrt (fma (* a c) -4 (* b b)))) (sqrt (* (cbrt (fma (* a c) -4 (* b b))) (cbrt (fma (* a c) -4 (* b b))))))))
113.0ms
(fma -1 b (- (* (sqrt (fma (* a c) -4 (* b b))) (sqrt 1))))
108.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (- (* (sqrt (fma (* a c) -4 (* b b))) (sqrt 1))))
107.0ms
(fma (sqrt (- b)) (sqrt (- b)) (- (* (sqrt (cbrt (fma (* a c) -4 (* b b)))) (sqrt (* (cbrt (fma (* a c) -4 (* b b))) (cbrt (fma (* a c) -4 (* b b))))))))

prune1.3s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 3.5b

localize6.0ms

Local error

Found 4 expressions with local error:

21.9b
(sqrt (fma (* a c) -4 (* b b)))
1.1b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
1.0b
(fma (* a c) -4 (* b b))
0.2b
(/ 1 (/ a (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×prod-diff
23×*-un-lft-identity
21×add-cube-cbrt
16×sqrt-prod
neg-mul-1
add-log-exp
pow1 associate-/r* add-exp-log
expm1-log1p-u add-cbrt-cube fma-neg insert-posit16 log1p-expm1-u
associate-/r/ div-inv difference-of-squares
associate--l- neg-sub0 rem-sqrt-square rec-exp clear-num sub-neg frac-2neg flip3-- pow1/2 diff-log fma-udef pow-flip flip-- distribute-lft-out-- inv-pow
Calls
4 calls:
Slowest
6.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
1.0ms
(sqrt (fma (* a c) -4 (* b b)))
1.0ms
(/ 1 (/ a (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)))
0.0ms
(fma (* a c) -4 (* b b))

series269.0ms

Calls
4 calls:
Slowest
105.0ms
(/ 1 (/ a (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)))
63.0ms
(sqrt (fma (* a c) -4 (* b b)))
51.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
49.0ms
(fma (* a c) -4 (* b b))

simplify5.0s

Calls
78 calls:
Slowest
140.0ms
(fma 1 (- b) (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))
128.0ms
(fma (sqrt (- b)) (sqrt (- b)) (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))
118.0ms
(fma (sqrt (- b)) (sqrt (- b)) (- (* (sqrt (fma (* a c) -4 (* b b))) 1)))
118.0ms
(fma 1 (- b) (- (* (sqrt (fma (* a c) -4 (* b b))) (sqrt 1))))
111.0ms
(/ 1 (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2))

prune1.1s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.5b

regimes372.0ms

Accuracy

82.9% (4.7b remaining)

Error of 10.5b against oracle of 5.9b and baseline of 33.0b

bsearch145.0ms

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.1s1095×body2560valid
962.0ms483×body640valid
863.0ms5937×body80valid
529.0ms814×body1280valid
438.0ms2899×body80nan
118.0ms97×body5120valid
77.0ms210×body320valid
28.0ms113×body160valid