Details

Time bar (total: 25.1s)

sample104.0ms

Algorithm
intervals
Results
21.0ms33×body1280valid
19.0ms184×body80valid
17.0ms31×body2560valid
9.0ms90×body80nan
4.0ms12×body640valid
2.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify170.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01417
12517
24616
38616
411916
512816
done12816

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.5b

localize47.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite353.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
19×prod-diff
18×sqrt-prod
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
times-frac associate-/l* difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 106
Calls
4 calls:
197.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
22.0ms
(- (* b b) (* 4.0 (* a c)))
105.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series570.0ms

Counts
4 → 12
Calls
4 calls:
203.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
84.0ms
(- (* b b) (* 4.0 (* a c)))
148.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
134.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify2.8s

Counts
118 → 118
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01932476
15172183
221601862
done50001794

prune923.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 7.7b

localize42.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (/ 1 (* 2.0 a)))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite455.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×*-un-lft-identity
23×add-exp-log
22×add-cube-cbrt
19×prod-diff
17×sqrt-prod
13×add-cbrt-cube
10×prod-exp
add-log-exp
pow1 fma-neg associate-*r*
associate-*l*
flip3-- flip--
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u difference-of-squares
times-frac
cbrt-undiv frac-times sub-neg rec-exp sqrt-div diff-log 1-exp associate-*l/ distribute-lft-out--
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 115
Calls
4 calls:
294.0ms
(* (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (/ 1 (* 2.0 a)))
24.0ms
(- (* b b) (* 4.0 (* a c)))
100.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
30.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series620.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(* (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (/ 1 (* 2.0 a)))
97.0ms
(- (* b b) (* 4.0 (* a c)))
153.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
145.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify3.2s

Counts
127 → 127
Iterations

Useful iterations: done (3.2s)

IterNodesCost
02192739
15902382
228821975
done50011901

prune868.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.7b

localize47.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite336.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
19×prod-diff
18×sqrt-prod
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
times-frac associate-/l* difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 106
Calls
4 calls:
185.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
19.0ms
(- (* b b) (* 4.0 (* a c)))
103.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series573.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
90.0ms
(- (* b b) (* 4.0 (* a c)))
155.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
131.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify2.8s

Counts
118 → 118
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01932476
15172183
221601862
done50001794

prune863.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 7.7b

localize48.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
0.8b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite261.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
60×times-frac
50×*-un-lft-identity
40×add-cube-cbrt
25×add-exp-log
20×sqrt-prod
19×prod-diff
13×add-cbrt-cube
12×div-exp associate-/r*
10×difference-of-squares
associate-/r/
add-log-exp
flip3-- fma-neg flip--
pow1
cbrt-undiv div-inv distribute-lft-out--
expm1-log1p-u log1p-expm1-u
rec-exp 1-exp prod-exp associate-/l*
sub-neg sqrt-div diff-log
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num cbrt-unprod inv-pow
Counts
4 → 152
Calls
4 calls:
107.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
17.0ms
(- (* b b) (* 4.0 (* a c)))
101.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
25.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series593.0ms

Counts
4 → 12
Calls
4 calls:
256.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
73.0ms
(- (* b b) (* 4.0 (* a c)))
138.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
125.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify3.3s

Counts
164 → 164
Iterations

Useful iterations: done (3.2s)

IterNodesCost
02594025
16713498
232533147
done50023070

prune939.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 7.7b

regimes537.0ms

Accuracy

82.7% (5.1b remaining)

Error of 10.5b against oracle of 5.4b and baseline of 34.6b

bsearch317.0ms

Steps
ItersRangePoint
8
7.520261887413394e-140
8.544177483477188e-136
2.4581158795060287e-136
10
-6.623625638726693e+82
-6.4709084601913214e+72
-1.6581383089037873e+81

simplify16.0ms

Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
03146
14140
24440
done4440

end0.0ms

sample4.4s

Algorithm
intervals
Results
814.0ms1065×body2560valid
807.0ms5800×body80valid
701.0ms908×body1280valid
612.0ms122×body5120valid
392.0ms2982×body80nan
239.0ms452×body640valid
118.0ms231×body320valid
26.0ms133×body160valid