Details

Time bar (total: 41.5s)

sample185.0ms

Algorithm
intervals
Results
52.0ms263×body80nan
40.0ms104×body320valid
32.0ms519×pre80true
28.0ms103×body160valid
7.0ms12×body640valid
5.0ms37×body80valid

simplify170.0ms

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

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 51.3b

localize35.0ms

Local error

Found 4 expressions with local error:

27.8b
(- (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)))

rewrite32.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
19.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
9.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)
1.0ms
(sqrt (fma -3 (* c a) (* b b)))
0.0ms
(fma -3 (* c a) (* b b))

series407.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
122.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)
117.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
93.0ms
(sqrt (fma -3 (* c a) (* b b)))
75.0ms
(fma -3 (* c a) (* b b))

simplify4.1s

Counts
87 → 114
Calls
87 calls:
Slowest
520.0ms
(- (* (sqrt (fma -3 (* c a) (* b b))) (sqrt (fma -3 (* c a) (* b b)))) (* b b))
324.0ms
(- (pow (sqrt (fma -3 (* c a) (* b b))) 3) (pow b 3))
210.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)))
206.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)))
167.0ms
(- (log (- (sqrt (fma -3 (* c a) (* b b))) b)) (+ (log 3) (log a)))

prune1.4s

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 48.0b

localize47.0ms

Local error

Found 4 expressions with local error:

50.7b
(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.2s

Counts
4 → 12
Calls
4 calls:
Slowest
642.0ms
(/ (fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))
419.0ms
(fma (sqrt (sqrt (fma -3 (* c a) (* b b)))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
71.0ms
(fma -3 (* c a) (* b b))
65.0ms
(fma -3 (* c a) (* b b))

simplify2.7s

Counts
24 → 69
Calls
24 calls:
Slowest
420.0ms
(- (* 1/3 (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) a)) (* 1/3 (/ b a)))
324.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
255.0ms
(- (* 1/3 (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) a)) (* 1/3 (/ b a)))
231.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)))
213.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ 1 a)) (log (/ 1 c)))))) 2) b)

prune1.1s

Pruning

30 alts after pruning (30 fresh and 0 done)

Merged error: 47.8b

localize65.0ms

Local error

Found 4 expressions with local error:

50.7b
(fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
0.5b
(cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))))
0.5b
(* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b)))
0.3b
(/ (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1 add-cbrt-cube add-exp-log
10×*-un-lft-identity add-cube-cbrt
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
times-frac swap-sqr associate-*r* associate-*l* fma-udef associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod
cbrt-prod pow2 distribute-rgt-in clear-num associate-/r* frac-2neg distribute-lft-in pow-plus pow1/3 pow3 pow-prod-down pow-sqr *-commutative pow-prod-up rem-cbrt-cube div-inv unswap-sqr
Counts
4 → 78
Calls
4 calls:
Slowest
11.0ms
(cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))))
9.0ms
(/ (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))
6.0ms
(* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b)))
0.0ms
(fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))

series1.1s

Counts
4 → 12
Calls
4 calls:
Slowest
563.0ms
(/ (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))
395.0ms
(fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
106.0ms
(* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b)))
80.0ms
(cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))))

simplify7.6s

Counts
48 → 90
Calls
48 calls:
Slowest
583.0ms
(* (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))))
447.0ms
(- (* 1/3 (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) a)) (* 1/3 (/ b a)))
362.0ms
(/ (* (* (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (* (* (* 3 a) (* 3 a)) (* 3 a)))
341.0ms
(- (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) b)
318.0ms
(* (cbrt (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (cbrt (fma (sqrt (sqrt (cbrt (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b)))))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))))

prune1.5s

Pruning

35 alts after pruning (35 fresh and 0 done)

Merged error: 47.8b

localize79.0ms

Local error

Found 4 expressions with local error:

50.3b
(fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
4.4b
(pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3)
0.5b
(* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b)))
0.3b
(/ (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
31×pow1
17×add-exp-log
13×add-sqr-sqrt
12×pow-pow
11×*-un-lft-identity add-cbrt-cube add-cube-cbrt
pow-plus pow-prod-up
prod-exp
expm1-log1p-u pow-prod-down insert-posit16 log1p-expm1-u add-log-exp
pow2 pow-unpow times-frac swap-sqr associate-*r* associate-*l* pow-exp pow-sqr fma-udef associate-/l*
cbrt-undiv div-exp cbrt-unprod
distribute-rgt-in pow-to-exp clear-num associate-/r* unpow-prod-down frac-2neg distribute-lft-in unpow1/3 pow3 *-commutative div-inv unswap-sqr sqr-pow
Counts
4 → 97
Calls
4 calls:
Slowest
16.0ms
(pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3)
12.0ms
(* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b)))
10.0ms
(/ (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))
0.0ms
(fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))

series1.3s

Counts
4 → 12
Calls
4 calls:
Slowest
641.0ms
(/ (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (* 3 a))
397.0ms
(fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))
201.0ms
(pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3)
89.0ms
(* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b)))

simplify10.3s

Counts
65 → 109
Calls
65 calls:
Slowest
729.0ms
(/ (cbrt (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) a)
649.0ms
(* (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))))
443.0ms
(- (log (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (+ (log 3) (log a)))
409.0ms
(- (* 1/3 (/ (pow (exp (* 1/4 (- (log -3) (+ (log (/ -1 c)) (log (/ -1 a)))))) 2) a)) (* 1/3 (/ b a)))
387.0ms
(/ (* (* (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b)) (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (fma (sqrt (sqrt (pow (* (* (fma -3 (* c a) (* b b)) (fma -3 (* c a) (* b b))) (fma -3 (* c a) (* b b))) 1/3))) (sqrt (sqrt (fma -3 (* c a) (* b b)))) (- b))) (* (* (* 3 3) 3) (* (* a a) a)))

prune1.2s

Pruning

33 alts after pruning (33 fresh and 0 done)

Merged error: 47.7b

regimes1.1s

Accuracy

0% (1.9b remaining)

Error of 50.6b against oracle of 48.7b and baseline of 50.6b

bsearch8.0ms

end0.0ms

sample5.9s

Algorithm
intervals
Results
1.5s3582×body320valid
1.5s8067×body80nan
1.1s16067×pre80true
875.0ms3004×body160valid
325.0ms485×body640valid
200.0ms929×body80valid