Details

Time bar (total: 22.8s)

sample150.0ms

Algorithm
intervals
Results
48.0ms149×body160valid
29.0ms266×body80nan
27.0ms522×pre80true
16.0ms47×body320valid
7.0ms60×body80valid

simplify112.0ms

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

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.3b

localize49.0ms

Local error

Found 4 expressions with local error:

37.9b
(- (sqrt (fma c (* -4 a) (* b b))) b)
0.1b
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
0.1b
(fma c (* -4 a) (* b b))
0.1b
(sqrt (fma c (* -4 a) (* b b)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
fma-neg sqrt-prod
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u associate-/l* add-log-exp
div-sub div-inv
rem-sqrt-square clear-num sub-neg frac-2neg flip3-- pow1/2 fma-udef flip-- associate-/l/
Calls
4 calls:
Slowest
11.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
8.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
1.0ms
(sqrt (fma c (* -4 a) (* b b)))
0.0ms
(fma c (* -4 a) (* b b))

series216.0ms

Calls
4 calls:
Slowest
72.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
54.0ms
(sqrt (fma c (* -4 a) (* b b)))
53.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
37.0ms
(fma c (* -4 a) (* b b))

simplify665.0ms

Calls
26 calls:
Slowest
89.0ms
(- (pow b 2) (* 4 (* a c)))
74.0ms
(- (pow b 2) (* 4 (* a c)))
69.0ms
(* (cbrt (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)) (cbrt (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)))
60.0ms
(- (pow b 2) (* 4 (* a c)))
43.0ms
(sqrt (* (cbrt (fma c (* -4 a) (* b b))) (cbrt (fma c (* -4 a) (* b b)))))

prune971.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 39.9b

localize13.0ms

Local error

Found 4 expressions with local error:

42.8b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.2b
(/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a)
0.1b
(fma c (* -4 a) (* b b))
0.1b
(fma c (* -4 a) (* b b))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u associate-/l* add-log-exp
fma-udef
div-inv
clear-num frac-2neg associate-/l/
Calls
4 calls:
Slowest
9.0ms
(/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a)
0.0ms
(fma c (* -4 a) (* b b))
0.0ms
(fma c (* -4 a) (* b b))
0.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))

series835.0ms

Calls
4 calls:
Slowest
463.0ms
(/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a)
301.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
37.0ms
(fma c (* -4 a) (* b b))
34.0ms
(fma c (* -4 a) (* b b))

simplify1.5s

Calls
16 calls:
Slowest
291.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)
258.0ms
(- (* 1/2 (/ (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) a)) (* 1/2 (/ b a)))
208.0ms
(- (* 1/2 (/ (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) a)) (* 1/2 (/ b a)))
188.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
74.0ms
(- (pow b 2) (* 4 (* a c)))

prune1.0s

Pruning

29 alts after pruning (29 fresh and 0 done)

Merged error: 39.7b

localize24.0ms

Local error

Found 4 expressions with local error:

42.8b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
42.8b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
42.8b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.6b
(cbrt (/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
cbrt-prod expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
fma-udef
cbrt-div pow1/3 div-inv
Calls
4 calls:
Slowest
1.0ms
(cbrt (/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a))
0.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))

series1.3s

Calls
4 calls:
Slowest
417.0ms
(cbrt (/ (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2) a))
337.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
292.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
267.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))

simplify3.4s

Calls
17 calls:
Slowest
414.0ms
(- (+ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 b))))) (cbrt -1/2)) (* 5/216 (/ (* (exp (* 1/3 (+ (* 4 (log (/ -1 a))) (* 2 (log (/ -1 b)))))) (* (cbrt -1/2) (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 6))) c))) (* 1/3 (/ (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 b))))) (* (cbrt -1/2) (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2))) b)))
394.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)
393.0ms
(- (* (cbrt 1/2) (exp (* 1/3 (- (+ (log (/ 1 a)) (log -1)) (log (/ 1 b)))))) (+ (* 5/216 (/ (* (cbrt 1/2) (* (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 6) (exp (* 1/3 (+ (* 2 (log (/ 1 b))) (* 4 (log (/ 1 a)))))))) c)) (* 1/3 (/ (* (cbrt 1/2) (* (exp (* 1/3 (- (+ (log (/ 1 a)) (log -1)) (log (/ 1 b))))) (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2))) b))))
365.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)
356.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)

prune1.1s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 39.3b

localize18.0ms

Local error

Found 4 expressions with local error:

42.8b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
42.8b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
42.8b
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.5b
(cbrt (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
cbrt-prod expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
fma-udef
cbrt-div pow1/3 div-inv
Calls
4 calls:
Slowest
1.0ms
(cbrt (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2))
0.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
0.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))

series1.4s

Calls
4 calls:
Slowest
511.0ms
(cbrt (/ (fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b)) 2))
307.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
297.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))
269.0ms
(fma (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt (sqrt (fma c (* -4 a) (* b b)))) (- b))

simplify3.2s

Calls
17 calls:
Slowest
510.0ms
(- (* (cbrt 1/2) (pow (* b -1) 1/3)) (+ (* 5/216 (* (/ (* (cbrt 1/2) (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 6)) (* a c)) (pow (/ 1 (pow b 2)) 1/3))) (* 1/3 (* (* (cbrt 1/2) (pow (exp (* 1/4 (- (log -4) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2)) (pow (/ -1 (pow b 2)) 1/3)))))
451.0ms
(- (* (cbrt 1/2) (exp (* 1/3 (- (log -1) (log (/ 1 b)))))) (+ (* 1/3 (/ (* (cbrt 1/2) (* (exp (* 1/3 (- (log -1) (log (/ 1 b))))) (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2))) b)) (* 5/216 (* (/ (* (cbrt 1/2) (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 6)) (* a c)) (pow (/ 1 (pow b 2)) 1/3)))))
362.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)
343.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)
341.0ms
(- (pow (exp (* 1/4 (- (log -4) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)

prune860.0ms

Pruning

30 alts after pruning (30 fresh and 0 done)

Merged error: 39.3b

regimes896.0ms

Accuracy

10.8% (2.9b remaining)

Error of 43.1b against oracle of 40.2b and baseline of 43.5b

bsearch53.0ms

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.4s16312×pre80true
1.3s8312×body80nan
1.3s4811×body160valid
477.0ms1414×body320valid
194.0ms1775×body80valid