Details

Time bar (total: 9.6s)

sample45.0ms

Algorithm
intervals
Results
8.0ms206×body80valid
6.0ms28×body2560valid
5.0ms28×body1280valid
4.0ms107×body80nan
2.0ms13×body640valid
1.0msbody5120valid
0.0msbody160valid
0.0msbody320valid

simplify73.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: 31.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
1.0b
(- (* b b) (* (* 4.0 a) c))
1.2b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite162.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:
88.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
8.0ms
(- (* b b) (* (* 4.0 a) c))
48.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
49.0ms
(- (* b b) (* (* 4.0 a) c))
87.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify973.0ms

Counts
118 → 118
Iterations

Useful iterations: done (969.0ms)

IterNodesCost
01952476
14802169
214411861
done50001789

prune329.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
1.0b
(- (* b b) (* (* 4.0 a) c))
1.2b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
21.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series379.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
49.0ms
(- (* b b) (* (* 4.0 a) c))
91.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.1s

Counts
164 → 164
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02614025
15873484
216563082
done50012938

prune335.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) a)
1.0b
(- (pow b 2) (* 4.0 (* a c)))
1.2b
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
21.3b
(sqrt (- (pow b 2) (* 4.0 (* a c))))

rewrite252.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
44×*-un-lft-identity
34×add-cube-cbrt
26×prod-diff
20×sqrt-prod
18×times-frac
14×fma-neg
10×difference-of-squares
add-log-exp
add-exp-log unpow-prod-down add-cbrt-cube associate-/l*
pow1 distribute-lft-out--
expm1-log1p-u flip3-- flip-- log1p-expm1-u
associate-/r*
sub-neg sqrt-div diff-log associate-/l/ unpow2 sqr-pow
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp clear-num div-inv
Counts
4 → 132
Calls
4 calls:
133.0ms
(/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) a)
18.0ms
(- (pow b 2) (* 4.0 (* a c)))
79.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
17.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series317.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) a)
51.0ms
(- (pow b 2) (* 4.0 (* a c)))
82.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
78.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify951.0ms

Counts
144 → 144
Iterations

Useful iterations: done (946.0ms)

IterNodesCost
02122996
15002658
212602358
done50002278

prune401.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 6.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)))
1.0b
(- (pow b 2) (* 4.0 (* a c)))
1.2b
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
21.3b
(sqrt (- (pow b 2) (* 4.0 (* a c))))

rewrite198.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
141×add-sqr-sqrt
114×*-un-lft-identity
88×add-cube-cbrt
28×sqrt-prod
26×prod-diff difference-of-squares
24×associate-/r*
15×add-exp-log
14×fma-neg
13×distribute-lft-out--
associate-/r/ add-cbrt-cube
add-log-exp
flip3-- div-exp flip--
pow1 unpow-prod-down
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv associate-/l*
sub-neg rec-exp sqrt-div diff-log 1-exp unpow2 sqr-pow
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num inv-pow
Counts
4 → 210
Calls
4 calls:
72.0ms
(/ 1 (/ a (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)))
17.0ms
(- (pow b 2) (* 4.0 (* a c)))
77.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
20.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series360.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(/ 1 (/ a (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)))
54.0ms
(- (pow b 2) (* 4.0 (* a c)))
88.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
72.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify951.0ms

Counts
222 → 222
Iterations

Useful iterations: done (943.0ms)

IterNodesCost
03165606
16864861
215784371
done50004221

prune458.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.4b

regimes206.0ms

Accuracy

78% (6.2b remaining)

Error of 11.6b against oracle of 5.4b and baseline of 33.4b

bsearch240.0ms

Steps
ItersRangePoint
8
0.0001820196720056695
0.3848154462067827
0.00018465375781150442
6
3.6410892437809104e-110
3.0960233903298005e-109
4.731827132847258e-110
8
1.0691773024250323e-170
5.5548132533506025e-168
2.175674080408203e-169
9
-1.4924982923623064e+60
-5.817343306680769e+54
-1.4784065354805617e+60

simplify9.0ms

Iterations

Useful iterations: done (9.0ms)

IterNodesCost
03784
14976
25259
35559
done5558

end0.0ms

sample1.2s

Algorithm
intervals
Results
247.0ms5926×body80valid
239.0ms1042×body2560valid
169.0ms905×body1280valid
106.0ms2856×body80nan
66.0ms463×body640valid
28.0ms102×body5120valid
24.0ms225×body320valid
7.0ms95×body160valid