Details

Time bar (total: 30.5s)

sample192.0ms

Algorithm
intervals
Results
44.0ms117×body320valid
32.0ms266×body80nan
32.0ms522×pre80true
23.0ms95×body160valid
8.0ms15×body640valid
4.0ms29×body80valid

simplify133.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
133.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3 a) c)))) (* 3 a))

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 53.1b

localize40.0ms

Local error

Found 4 expressions with local error:

27.3b
(- (sqrt (fma -3 (* c a) (* b b))) b)
0.2b
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
0.1b
(fma -3 (* c a) (* b b))
0.0b
(sqrt (fma -3 (* c a) (* b b)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff sqrt-prod
add-cbrt-cube add-exp-log
times-frac fma-neg associate-/l* add-log-exp difference-of-squares
pow1
expm1-log1p-u insert-posit16 log1p-expm1-u
distribute-lft-out--
cbrt-undiv flip3-- div-exp flip-- associate-/l/
rem-sqrt-square clear-num associate-/r* sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log div-sub prod-exp cbrt-unprod fma-udef div-inv
Counts
4 → 102
Calls
4 calls:
Slowest
44.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
15.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)
2.0ms
(sqrt (fma -3 (* c a) (* b b)))
1.0ms
(fma -3 (* c a) (* b b))

series406.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
132.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
110.0ms
(sqrt (fma -3 (* c a) (* b b)))
96.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)
68.0ms
(fma -3 (* c a) (* b b))

simplify4.3s

Counts
87 → 114
Calls
87 calls:
Slowest
535.0ms
(- (* (sqrt (fma -3 (* c a) (* b b))) (sqrt (fma -3 (* c a) (* b b)))) (* b b))
329.0ms
(- (pow (sqrt (fma -3 (* c a) (* b b))) 3) (pow b 3))
207.0ms
(/ (* (* (- (sqrt (fma -3 (* c a) (* b b))) b) (- (sqrt (fma -3 (* c a) (* b b))) b)) (- (sqrt (fma -3 (* c a) (* b b))) b)) (* (* (* 3 a) (* 3 a)) (* 3 a)))
203.0ms
(/ (* (* (- (sqrt (fma -3 (* c a) (* b b))) b) (- (sqrt (fma -3 (* c a) (* b b))) b)) (- (sqrt (fma -3 (* c a) (* b b))) b)) (* (* (* 3 3) 3) (* (* a a) a)))
164.0ms
(- (log (- (sqrt (fma -3 (* c a) (* b b))) b)) (+ (log 3) (log a)))

prune1.5s

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 49.7b

localize59.0ms

Local error

Found 4 expressions with local error:

52.0b
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
0.3b
(/ (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))
0.1b
(fma -3 (* c a) (* b b))
0.1b
(fma -3 (* c a) (* b b))

rewrite8.0ms

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

series1.1s

Counts
4 → 12
Calls
4 calls:
Slowest
592.0ms
(/ (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))
374.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
67.0ms
(fma -3 (* c a) (* b b))
61.0ms
(fma -3 (* c a) (* b b))

simplify2.7s

Counts
24 → 69
Calls
24 calls:
Slowest
456.0ms
(- (* 1/3 (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) a)) (* 1/3 (/ b a)))
374.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
237.0ms
(- (* 1/3 (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) a)) (* 1/3 (/ b a)))
233.0ms
(/ (* (* (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (* (* (* 3 a) (* 3 a)) (* 3 a)))
168.0ms
(/ (* (* (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (* (* (* 3 3) 3) (* (* a a) a)))

prune1.3s

Pruning

31 alts after pruning (31 fresh and 0 done)

Merged error: 49.6b

localize79.0ms

Local error

Found 4 expressions with local error:

52.0b
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
52.0b
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
52.0b
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
0.5b
(cbrt (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)))

rewrite3.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 add-log-exp
cbrt-prod fma-udef
pow1/3
Counts
4 → 47
Calls
4 calls:
Slowest
1.0ms
(cbrt (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)))
1.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
0.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
0.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))

series1.7s

Counts
4 → 12
Calls
4 calls:
Slowest
545.0ms
(cbrt (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)))
396.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
381.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
362.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))

simplify3.4s

Counts
15 → 59
Calls
15 calls:
Slowest
685.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
560.0ms
(- (pow (/ -1 b) -1/3) (+ (* 1/3 (* (pow (/ -1 (pow b 2)) 1/3) (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2))) (* 5/162 (* (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 6) (* a c)) (pow (/ 1 (pow b 2)) 1/3)))))
502.0ms
(- (exp (* 1/3 (- (log -1) (log (/ 1 b))))) (+ (* 1/3 (/ (* (exp (* 1/3 (- (log -1) (log (/ 1 b))))) (pow (exp (* 1/4 (- (log -3) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2)) b)) (* 5/162 (* (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ 1 a)) (log (/ 1 c)))))) 6) (* a c)) (pow (/ 1 (pow b 2)) 1/3)))))
361.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
322.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)

prune1.0s

Pruning

31 alts after pruning (30 fresh and 1 done)

Merged error: 49.6b

localize69.0ms

Local error

Found 4 expressions with local error:

52.0b
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
52.0b
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
52.0b
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
0.4b
(cbrt (/ (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a)))

rewrite5.0ms

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

series1.9s

Counts
4 → 12
Calls
4 calls:
Slowest
628.0ms
(cbrt (/ (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a)))
434.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
421.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
394.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))

simplify3.5s

Counts
20 → 64
Calls
20 calls:
Slowest
608.0ms
(- (+ (* 5/162 (/ (* (cbrt -1/3) (* (exp (* 1/3 (+ (* 4 (log (/ -1 a))) (* 2 (log (/ -1 b)))))) (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 6))) c)) (* (cbrt -1/3) (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 b))))))) (* 1/3 (/ (* (cbrt -1/3) (* (exp (* 1/3 (- (log (/ -1 a)) (log (/ -1 b))))) (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2))) b)))
530.0ms
(- (* (exp (* 1/3 (- (+ (log (/ 1 a)) (log -1)) (log (/ 1 b))))) (cbrt 1/3)) (+ (* 5/162 (/ (* (cbrt 1/3) (* (pow (exp (* 1/4 (- (log -3) (+ (log (/ 1 a)) (log (/ 1 c)))))) 6) (exp (* 1/3 (+ (* 2 (log (/ 1 b))) (* 4 (log (/ 1 a)))))))) c)) (* 1/3 (/ (* (cbrt 1/3) (* (exp (* 1/3 (- (+ (log (/ 1 a)) (log -1)) (log (/ 1 b))))) (pow (exp (* 1/4 (- (log -3) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2))) b))))
427.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
391.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
337.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)

prune759.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 49.2b

regimes546.0ms

Accuracy

29.6% (2.5b remaining)

Error of 51.1b against oracle of 48.5b and baseline of 52.1b

bsearch85.0ms

end0.0ms

sample5.7s

Algorithm
intervals
Results
1.6s3624×body320valid
1.4s16268×pre80true
1.0s8268×body80nan
765.0ms2971×body160valid
321.0ms477×body640valid
200.0ms928×body80valid