Details

Time bar (total: 42.1s)

sample194.0ms

Algorithm
intervals
Results
42.0ms139×body160valid
38.0ms524×pre80true
38.0ms268×body80nan
18.0ms117×body80valid

simplify108.0ms

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

prune21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.7b

localize44.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.4b
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
28.6b
(- (sqrt (fma -3 (* c a) (* b b))) b)

rewrite62.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:
5.0ms
(sqrt (fma -3 (* c a) (* b b)))
0.0ms
(fma -3 (* c a) (* b b))
38.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
17.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

series397.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(sqrt (fma -3 (* c a) (* b b)))
65.0ms
(fma -3 (* c a) (* b b))
130.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
99.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

simplify1.7s

Counts
114 → 114
Iterations
IterNodes
33402
2935
1329
0152

prune1.4s

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 25.8b

localize60.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 b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b)))))
0.4b
(/ (/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b))))) (* 3 a))
27.4b
(- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
48×add-sqr-sqrt
32×*-un-lft-identity add-cube-cbrt
23×pow3
20×add-cbrt-cube add-exp-log associate-/l*
11×difference-cubes
pow1
cbrt-undiv div-exp
associate-*r* add-log-exp
expm1-log1p-u associate-/r* sqrt-prod insert-posit16 log1p-expm1-u div-inv
div-sub associate-*l* prod-exp cbrt-unprod 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 → 139
Calls
4 calls:
12.0ms
(* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))))
47.0ms
(/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b)))))
72.0ms
(/ (/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b))))) (* 3 a))
26.0ms
(- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b))

series4.0s

Counts
4 → 12
Calls
4 calls:
1.5s
(* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))))
534.0ms
(/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b)))))
647.0ms
(/ (/ (- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b)) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b))))) (* 3 a))
1.4s
(- (* (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b)))) (* (* b b) b))

simplify5.1s

Counts
151 → 151
Iterations
IterNodes
37431
21658
1566
0231

prune2.3s

Pruning

43 alts after pruning (43 fresh and 0 done)

Merged error: 24.9b

localize60.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* b b) (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 b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b)))))
0.4b
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b))))) (* 3 a))
27.3b
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
26×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
18×add-cbrt-cube add-exp-log
16×associate-/l*
cbrt-undiv div-exp
add-log-exp
expm1-log1p-u pow1 associate-/r* insert-posit16 log1p-expm1-u div-inv
clear-num frac-2neg prod-exp cbrt-unprod fma-udef
+-commutative associate-+r+ sum-log fma-def flip3-+ flip-+ associate-/l/
Counts
4 → 106
Calls
4 calls:
7.0ms
(+ (* b b) (fma -3 (* a c) (* b b)))
4.0ms
(/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b)))))
17.0ms
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b))))) (* 3 a))
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:
98.0ms
(+ (* b b) (fma -3 (* a c) (* b b)))
351.0ms
(/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b)))))
440.0ms
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (+ (* b b) (fma -3 (* a c) (* b b))))) (* 3 a))
258.0ms
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

simplify4.7s

Counts
118 → 118
Iterations
IterNodes
36470
21384
1439
0184

prune2.2s

Pruning

52 alts after pruning (52 fresh and 0 done)

Merged error: 24.7b

localize48.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (expm1 (log1p (+ (* b b) (fma -3 (* a c) (* b b)))))))
0.4b
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (expm1 (log1p (+ (* b b) (fma -3 (* a c) (* b b))))))) (* 3 a))
2.0b
(expm1 (log1p (+ (* b b) (fma -3 (* a c) (* b b)))))
27.3b
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

rewrite30.0ms

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

series3.8s

Counts
4 → 12
Calls
4 calls:
1.7s
(/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (expm1 (log1p (+ (* b b) (fma -3 (* a c) (* b b)))))))
1.7s
(/ (/ (fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b))) (fma b (sqrt (fma -3 (* a c) (* b b))) (expm1 (log1p (+ (* b b) (fma -3 (* a c) (* b b))))))) (* 3 a))
182.0ms
(expm1 (log1p (+ (* b b) (fma -3 (* a c) (* b b)))))
257.0ms
(fma (fma -3 (* a c) (* b b)) (sqrt (fma -3 (* a c) (* b b))) (- (* (* b b) b)))

simplify6.8s

Counts
114 → 114
Iterations
IterNodes
38551
21939
1646
0260

prune1.7s

Pruning

54 alts after pruning (54 fresh and 0 done)

Merged error: 24.7b

regimes1.3s

Accuracy

0% (2.8b remaining)

Error of 27.0b against oracle of 24.3b and baseline of 27.0b

bsearch0.0ms

simplify5.0ms

Iterations
IterNodes
331
231
127
019

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.7s4385×body160valid
1.1s16434×pre80true
979.0ms8434×body80nan
490.0ms3615×body80valid