Details

Time bar (total: 17.0s)

sample113.0ms

Algorithm
intervals
Results
20.0ms36×body2560valid
19.0ms190×body80valid
13.0ms28×body1280valid
8.0ms92×body80nan
6.0ms16×body640valid
2.0msbody320valid
1.0msbody5120valid
1.0msbody160valid

simplify150.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite275.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:
141.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
20.0ms
(- (* b b) (* 4.0 (* a c)))
97.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
11.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series443.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* 2.0 a))
65.0ms
(- (* b b) (* 4.0 (* a c)))
118.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
112.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.7s

Counts
118 → 118
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01932476
14812169
214191861
done50001789

prune536.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.6b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite269.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:
102.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
19.0ms
(- (* b b) (* 4.0 (* a c)))
111.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
24.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series507.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)))
60.0ms
(- (* b b) (* 4.0 (* a c)))
146.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
110.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.5s

Counts
164 → 164
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02594025
15883484
216333082
done50002938

prune511.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.6b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* 4.0 (* a c)))
0.2b
(* (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (/ 1 (* 2.0 a)))
1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite341.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:
12.0ms
(- (* b b) (* 4.0 (* a c)))
215.0ms
(* (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (/ 1 (* 2.0 a)))
84.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
24.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series416.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (* b b) (* 4.0 (* a c)))
144.0ms
(* (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (/ 1 (* 2.0 a)))
87.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
108.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.5s

Counts
127 → 127
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02192739
15382324
216661964
done50011892

prune431.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 4.6b

localize41.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))
22.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite184.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
38×*-un-lft-identity
36×prod-diff
34×add-cube-cbrt
32×sqrt-prod
12×fma-neg
add-log-exp
pow1
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log distribute-lft-out--
Counts
4 → 116
Calls
4 calls:
61.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
71.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
23.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
24.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series447.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
129.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
90.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
108.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify3.2s

Counts
128 → 128
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01122856
12672310
27161948
326691774
done50011674

prune452.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 4.6b

regimes299.0ms

Accuracy

84.2% (4.6b remaining)

Error of 9.9b against oracle of 5.3b and baseline of 34.2b

bsearch255.0ms

Steps
ItersRangePoint
11
1.5906747666251227e-34
6.100620313640196e-08
1.611450844781215e-34
9
-6.354265220965125e+156
-1.769171722317776e+149
-1.5501620157466267e+150

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02840
13540
done3540

end0.0ms

sample3.4s

Algorithm
intervals
Results
876.0ms5882×body80valid
630.0ms468×body640valid
620.0ms1076×body2560valid
376.0ms848×body1280valid
313.0ms2915×body80nan
103.0ms212×body320valid
65.0ms107×body5120valid
19.0ms122×body160valid