Details

Time bar (total: 32.5s)

sample105.0ms

Algorithm
intervals
Results
28.0ms521×pre80true
23.0ms265×body80nan
22.0ms126×body160valid
12.0ms130×body80valid

simplify93.0ms

Counts
1 → 1
Iterations
IterNodes
8102
7102
6101
599
491
373
241
122
012

prune18.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 25.5b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.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 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 → 98
Calls
4 calls:
2.0ms
(sqrt (fma -3 (* c a) (* b b)))
0.0ms
(fma -3 (* c a) (* b b))
34.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
14.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

series420.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(sqrt (fma -3 (* c a) (* b b)))
76.0ms
(fma -3 (* c a) (* b b))
122.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
97.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

simplify2.1s

Counts
110 → 110
Iterations
IterNodes
33547
2949
1324
0148

prune1.3s

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 23.0b

localize48.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))))
0.3b
(/ (/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b)))) (* 3 a))
0.4b
(/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b))))
24.3b
(- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
70×times-frac
61×*-un-lft-identity
54×add-sqr-sqrt
35×add-cube-cbrt
29×pow3
26×associate-/l*
20×add-cbrt-cube add-exp-log
14×difference-cubes
13×distribute-lft-out
pow1
cbrt-undiv div-exp
associate-*r* associate-/r/ add-log-exp
associate-/r*
expm1-log1p-u sqrt-prod log1p-expm1-u div-inv
flip3-+ div-sub associate-*l* prod-exp cbrt-unprod flip-+ associate-/l/
clear-num frac-2neg flip3-- pow-prod-up flip-- unswap-sqr
sub-neg sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down *-commutative
Counts
4 → 154
Calls
4 calls:
9.0ms
(* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))))
52.0ms
(/ (/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b)))) (* 3 a))
84.0ms
(/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b))))
14.0ms
(- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b))

series4.2s

Counts
4 → 12
Calls
4 calls:
1.6s
(* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))))
640.0ms
(/ (/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b)))) (* 3 a))
552.0ms
(/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b))))
1.4s
(- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b))

simplify1.3s

Counts
166 → 166
Iterations
IterNodes
22195
1637
0244

prune2.5s

Pruning

44 alts after pruning (44 fresh and 0 done)

Merged error: 22.0b

localize56.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma -3 (* a c) (* b b))
0.3b
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b)))) (* 3 a))
0.4b
(/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b))))
24.1b
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
49×*-un-lft-identity
29×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
18×add-cbrt-cube add-exp-log
10×distribute-lft-out
cbrt-undiv div-exp
associate-/r/
associate-/r*
expm1-log1p-u pow1 log1p-expm1-u div-inv add-log-exp
flip3-+ flip-+
clear-num frac-2neg prod-exp cbrt-unprod fma-udef
associate-/l/
Counts
4 → 113
Calls
4 calls:
0.0ms
(fma -3 (* a c) (* b b))
15.0ms
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b)))) (* 3 a))
7.0ms
(/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b))))
0.0ms
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

series1.2s

Counts
4 → 12
Calls
4 calls:
73.0ms
(fma -3 (* a c) (* b b))
486.0ms
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b)))) (* 3 a))
406.0ms
(/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (+ (fma (sqrt (fma -3 (* a c) (* b b))) b (* b b)) (fma -3 (* a c) (* b b))))
238.0ms
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

simplify6.2s

Counts
125 → 125
Iterations
IterNodes
37401
21405
1438
0181

prune1.9s

Pruning

55 alts after pruning (55 fresh and 0 done)

Merged error: 21.9b

localize60.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (fma -3 (* a c) (* b b)))
0.6b
(cbrt (fma -3 (* a c) (* b b)))
0.6b
(cbrt (fma -3 (* a c) (* b b)))
24.1b
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

rewrite4.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 log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt (fma -3 (* a c) (* b b)))
1.0ms
(cbrt (fma -3 (* a c) (* b b)))
1.0ms
(cbrt (fma -3 (* a c) (* b b)))
0.0ms
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

series1.1s

Counts
4 → 12
Calls
4 calls:
249.0ms
(cbrt (fma -3 (* a c) (* b b)))
278.0ms
(cbrt (fma -3 (* a c) (* b b)))
294.0ms
(cbrt (fma -3 (* a c) (* b b)))
288.0ms
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

simplify2.7s

Counts
61 → 61
Iterations
IterNodes
45226
31330
2396
1159
077

prune1.0s

Pruning

56 alts after pruning (55 fresh and 1 done)

Merged error: 21.9b

regimes1.3s

Accuracy

0% (2.6b remaining)

Error of 27.4b against oracle of 24.8b and baseline of 27.4b

bsearch0.0ms

simplify12.0ms

Iterations
IterNodes
333
233
129
020

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.5s4502×body160valid
1.1s8584×body80nan
1.1s16584×pre80true
412.0ms3498×body80valid