Details

Time bar (total: 29.8s)

sample79.0ms

Algorithm
intervals
Results
23.0ms141×body160valid
16.0ms512×pre80true
14.0ms256×body80nan
6.0ms115×body80valid

simplify118.0ms

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

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.5b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite95.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:
3.0ms
(sqrt (fma -3 (* c a) (* b b)))
1.0ms
(fma -3 (* c a) (* b b))
64.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
24.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

series414.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(sqrt (fma -3 (* c a) (* b b)))
96.0ms
(fma -3 (* c a) (* b b))
87.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
123.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

simplify2.7s

Counts
114 → 114
Iterations
IterNodes
done5000
33990
2940
1347
0152

prune632.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 25.0b

localize80.0ms

Local error

Found 4 expressions with local error:

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

rewrite269.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
48×add-sqr-sqrt
32×*-un-lft-identity add-cube-cbrt
23×cube-unmult
20×add-cbrt-cube add-exp-log associate-/l*
11×difference-cubes
10×pow1
cbrt-undiv div-exp
associate-*l* add-log-exp
expm1-log1p-u associate-/r* sqrt-prod fma-udef insert-posit16 log1p-expm1-u div-inv
div-sub associate-*r* prod-exp cbrt-unprod associate-/l/
distribute-rgt-in clear-num frac-2neg distribute-lft-in sqrt-pow1 pow-plus flip3-- pow1/2 associate--l+ pow-prod-up flip-- unswap-sqr
sub-neg fma-neg diff-log prod-diff pow-prod-down *-commutative
Counts
4 → 145
Calls
4 calls:
21.0ms
(* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b)))
106.0ms
(/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
87.0ms
(/ (/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
49.0ms
(- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b)))

series4.0s

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

simplify2.6s

Counts
157 → 157
Iterations
IterNodes
done5003
22098
1594
0235

prune1.2s

Pruning

35 alts after pruning (35 fresh and 0 done)

Merged error: 23.2b

localize80.0ms

Local error

Found 4 expressions with local error:

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

rewrite746.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
30×add-sqr-sqrt
28×*-un-lft-identity add-cube-cbrt
23×add-cbrt-cube add-exp-log
16×associate-/l*
pow1
cbrt-undiv div-exp
associate-*l* add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-/r* sqrt-prod insert-posit16 log1p-expm1-u div-inv
div-sub pow-prod-down associate-/l/
clear-num associate-+r- frac-2neg unswap-sqr
sub-neg flip3-+ flip3-- distribute-rgt-out-- fma-neg diff-log associate-*r* prod-diff *-commutative flip-+ flip--
Counts
4 → 127
Calls
4 calls:
339.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
21.0ms
(* (sqrt (fma (* a c) -3 (* b b))) (* b b))
332.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
48.0ms
(- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))

series1.5s

Counts
4 → 12
Calls
4 calls:
416.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
269.0ms
(* (sqrt (fma (* a c) -3 (* b b))) (* b b))
576.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
212.0ms
(- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))

simplify2.6s

Counts
139 → 139
Iterations
IterNodes
done5000
22057
1569
0222

prune1.3s

Pruning

45 alts after pruning (45 fresh and 0 done)

Merged error: 22.7b

localize74.0ms

Local error

Found 4 expressions with local error:

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

rewrite523.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
69×*-un-lft-identity
65×add-cube-cbrt
54×prod-diff
40×times-frac
32×sqrt-prod
23×add-cbrt-cube add-exp-log
20×distribute-rgt-in distribute-lft-in
16×associate-/l*
pow1
cbrt-undiv div-exp
fma-neg associate-*r* add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-/r* insert-posit16 log1p-expm1-u div-inv difference-of-squares
sub-neg pow-prod-down associate-/l/
clear-num frac-2neg flip3-- associate-*r/ flip-- distribute-lft-out--
flip3-+ diff-log associate-*l* *-commutative flip-+ unswap-sqr
Counts
4 → 190
Calls
4 calls:
223.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (* (* b b) (- (sqrt (fma (* a c) -3 (* b b))) b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
75.0ms
(* (* b b) (- (sqrt (fma (* a c) -3 (* b b))) b))
192.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (* (* b b) (- (sqrt (fma (* a c) -3 (* b b))) b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
22.0ms
(- (sqrt (fma (* a c) -3 (* b b))) b)

series1.2s

Counts
4 → 12
Calls
4 calls:
402.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (* (* b b) (- (sqrt (fma (* a c) -3 (* b b))) b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
121.0ms
(* (* b b) (- (sqrt (fma (* a c) -3 (* b b))) b))
514.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (* (* b b) (- (sqrt (fma (* a c) -3 (* b b))) b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
144.0ms
(- (sqrt (fma (* a c) -3 (* b b))) b)

simplify2.9s

Counts
202 → 202
Iterations
IterNodes
done5041
22745
1830
0296

prune1.6s

Pruning

57 alts after pruning (57 fresh and 0 done)

Merged error: 22.2b

regimes1.7s

Accuracy

0% (2.1b remaining)

Error of 25.2b against oracle of 23.1b and baseline of 25.2b

bsearch0.0ms

simplify13.0ms

Iterations
IterNodes
done38
138
027

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.2s16742×pre80true
753.0ms4462×body160valid
722.0ms8742×body80nan
268.0ms3538×body80valid