Details

Time bar (total: 16.8s)

sample71.0ms

Algorithm
intervals
Results
15.0ms36×body2560valid
13.0ms190×body80valid
9.0ms28×body1280valid
6.0ms92×body80nan
4.0ms16×body640valid
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify92.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize13.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)))

rewrite230.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:
113.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
21.0ms
(- (* b b) (* (* 4.0 a) c))
74.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
18.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series464.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
69.0ms
(- (* b b) (* (* 4.0 a) c))
115.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
114.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.5s

Counts
118 → 118
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01952476
14802169
214411861
done50001789

prune501.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.6b

localize18.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)))

rewrite227.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:
66.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
12.0ms
(- (* b b) (* (* 4.0 a) c))
113.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series521.0ms

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

simplify1.3s

Counts
164 → 164
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02614025
15873484
216563082
done50012938

prune585.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.6b

localize30.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)))

rewrite295.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:
11.0ms
(- (* b b) (* (* 4.0 a) c))
190.0ms
(* (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (/ 1 (* 2.0 a)))
57.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
33.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series478.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(- (* b b) (* (* 4.0 a) c))
177.0ms
(* (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (/ 1 (* 2.0 a)))
131.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
106.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.4s

Counts
127 → 127
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02212739
15362324
216871964
done50011892

prune877.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 4.6b

localize30.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)))

rewrite143.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:
52.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
64.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series535.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
156.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
111.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
142.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify3.0s

Counts
128 → 128
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01132856
12682310
27181948
327111774
done50011674

prune543.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 4.6b

regimes288.0ms

Accuracy

84.2% (4.6b remaining)

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

bsearch261.0ms

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

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02840
13540
done3540

end0.0ms

sample3.3s

Algorithm
intervals
Results
712.0ms2915×body80nan
666.0ms1076×body2560valid
614.0ms5882×body80valid
540.0ms848×body1280valid
141.0ms468×body640valid
99.0ms212×body320valid
63.0ms107×body5120valid
19.0ms122×body160valid