Details

Time bar (total: 24.5s)

sample83.0ms

Algorithm
intervals
Results
26.0ms97×body80nan
10.0ms174×body80valid
9.0ms30×body2560valid
8.0ms28×body1280valid
4.0ms23×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify29.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010283
119283
233283
346283
449283
done49283

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.3b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
2.2b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-cbrt-cube add-exp-log
pow1
expm1-log1p-u flip3-- log1p-expm1-u flip--
associate-/r* diff-log
sub-neg sqrt-div associate-/l/
associate--l- neg-sub0 cbrt-undiv rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log div-inv
Counts
4 → 171
Calls
4 calls:
78.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
14.0ms
(- (* b_2 b_2) (* a c))
36.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series366.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
46.0ms
(- (* b_2 b_2) (* a c))
95.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
102.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify2.6s

Counts
183 → 183
Iterations

Useful iterations: done (2.6s)

IterNodesCost
024492638
157482163
2151374224
done500162934

prune788.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.7b

localize36.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b_2 b_2) (* a c))
13.7b
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity add-cube-cbrt
11×fma-neg prod-diff
10×add-log-exp
distribute-lft-neg-in pow1 distribute-rgt-neg-in sqrt-prod
expm1-log1p-u flip3-- add-cbrt-cube sqrt-div add-exp-log log1p-expm1-u flip--
diff-log
rem-sqrt-square neg-mul-1 sub-neg sqrt-pow1 pow1/2
associate--l- neg-sub0 neg-log difference-of-squares
Counts
4 → 87
Calls
4 calls:
13.0ms
(- (* b_2 b_2) (* a c))
22.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
10.0ms
(sqrt (- (* b_2 b_2) (* a c)))
9.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series346.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (* b_2 b_2) (* a c))
99.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
99.0ms
(sqrt (- (* b_2 b_2) (* a c)))
93.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify4.2s

Counts
99 → 99
Iterations

Useful iterations: done (4.2s)

IterNodesCost
012834548
130427190
286426651
3282526341
done500025996

prune638.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.6b

localize34.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.5b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
11.2b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite264.0ms

Algorithm
rewrite-expression-head
Rules
164×add-sqr-sqrt
162×times-frac
129×*-un-lft-identity
95×add-cube-cbrt
34×difference-of-squares
32×sqrt-prod
27×associate-/l*
18×prod-diff
17×distribute-lft-out--
11×add-cbrt-cube add-exp-log
10×associate-/r/
associate-/r*
flip3-- flip--
fma-neg div-inv add-log-exp
pow1
expm1-log1p-u cbrt-undiv div-exp log1p-expm1-u
associate-/l/
clear-num frac-2neg sqrt-div
rem-sqrt-square sub-neg sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 219
Calls
4 calls:
50.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
121.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
63.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series727.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
205.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
298.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
114.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify3.2s

Counts
231 → 231
Iterations

Useful iterations: done (3.1s)

IterNodesCost
0340123759
1851107125
22480102659
done5012102584

prune1.3s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.6b

localize34.0ms

Local error

Found 4 expressions with local error:

11.1b
(/ (+ 0 (* a c)) (fma (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (- b_2)))
15.7b
(fma (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (- b_2))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))
23.2b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity add-cube-cbrt
times-frac
pow1 add-cbrt-cube add-exp-log sqrt-prod
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-/r* associate-/l*
rem-sqrt-square sqrt-pow1 flip3-- pow1/2 flip-- associate-/l/
cbrt-undiv clear-num frac-2neg flip3-+ div-exp flip-+ fma-udef div-inv
Counts
4 → 75
Calls
4 calls:
15.0ms
(/ (+ 0 (* a c)) (fma (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (- b_2)))
1.0ms
(fma (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (- b_2))
22.0ms
(sqrt (- (* b_2 b_2) (* a c)))
17.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series991.0ms

Counts
4 → 12
Calls
4 calls:
691.0ms
(/ (+ 0 (* a c)) (fma (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (- b_2)))
141.0ms
(fma (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (- b_2))
91.0ms
(sqrt (- (* b_2 b_2) (* a c)))
68.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify4.0s

Counts
87 → 87
Iterations

Useful iterations: done (4.0s)

IterNodesCost
015634690
137327811
2105925605
3387025246
done500125131

prune545.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 5.6b

regimes434.0ms

Accuracy

87.2% (3.5b remaining)

Error of 9.2b against oracle of 5.8b and baseline of 32.7b

bsearch246.0ms

Steps
ItersRangePoint
10
7.868349732386487e+96
4.727011775790926e+114
1.6738516635749796e+107
6
-1.8486478600700203e-204
-1.2771142337683854e-205
-1.6070748188691203e-204
9
-1.5616592422619596e-10
-4.8623869860036984e-17
-5.2605709473303605e-14

simplify438.0ms

Iterations

Useful iterations: 1 (431.0ms)

IterNodesCost
0341150
1401149
2451149
done451149

end0.0ms

sample2.8s

Algorithm
intervals
Results
741.0ms916×body1280valid
610.0ms1040×body2560valid
544.0ms5866×body80valid
212.0ms2929×body80nan
165.0ms462×body640valid
52.0ms110×body5120valid
41.0ms220×body320valid
15.0ms113×body160valid