Details

Time bar (total: 6.2s)

sample55.0ms

Algorithm
intervals
Results
12.0ms160×body160valid
10.0ms506×pre80true
9.0ms250×body80nan
5.0ms50×body320valid
2.0ms46×body80valid

simplify58.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12517
24516
38716
410516
511316
done11316

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 46.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
135×add-sqr-sqrt
108×*-un-lft-identity
82×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
22×associate-/l*
19×prod-diff
13×distribute-lft-out--
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
pow1 div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-/r* flip--
sub-neg sqrt-div diff-log div-sub
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 183
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
36.0ms
(/ (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0) a)
22.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)

series309.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
44.0ms
(- (* b b) (* (* 4.0 a) c))
108.0ms
(/ (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0) a)
84.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)

simplify941.0ms

Counts
195 → 195
Iterations

Useful iterations: done (934.0ms)

IterNodesCost
03214967
17514592
221864283
done50004264

prune500.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 4.7b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify1.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000
done00

prune47.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 4.7b

localize8.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (/ (* -2.0 (/ (* a c) b)) 2.0) a)
0.3b
(/ (* a c) b)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
27×add-exp-log add-cbrt-cube
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×cbrt-undiv div-exp
associate-/l*
associate-/r* div-inv
prod-exp cbrt-unprod
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
Counts
2 → 77
Calls
2 calls:
10.0ms
(/ (/ (* -2.0 (/ (* a c) b)) 2.0) a)
3.0ms
(/ (* a c) b)

series44.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ (/ (* -2.0 (/ (* a c) b)) 2.0) a)
19.0ms
(/ (* a c) b)

simplify898.0ms

Counts
83 → 83
Iterations

Useful iterations: 2 (406.0ms)

IterNodesCost
01711200
14441154
21803992
done5001992

prune216.0ms

Pruning

29 alts after pruning (28 fresh and 1 done)

Merged error: 4.6b

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ a (/ b c))
0.3b
(/ (/ (* -2.0 (/ a (/ b c))) 2.0) a)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
60×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×add-exp-log add-cbrt-cube
16×associate-/r*
15×cbrt-undiv div-exp
10×div-inv associate-/l*
prod-exp cbrt-unprod
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/r/ associate-/l/
Counts
2 → 126
Calls
2 calls:
5.0ms
(/ a (/ b c))
12.0ms
(/ (/ (* -2.0 (/ a (/ b c))) 2.0) a)

series41.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(/ a (/ b c))
20.0ms
(/ (/ (* -2.0 (/ a (/ b c))) 2.0) a)

simplify772.0ms

Counts
132 → 132
Iterations

Useful iterations: 2 (299.0ms)

IterNodesCost
02691894
16521788
224461616
done50001616

prune277.0ms

Pruning

35 alts after pruning (34 fresh and 1 done)

Merged error: 4.6b

regimes391.0ms

Accuracy

12.8% (6.1b remaining)

Error of 11.1b against oracle of 5.0b and baseline of 12.0b

bsearch17.0ms

Steps
ItersRangePoint
2
0.00025188901510240987
0.00029118470560064225
0.0002568009764146889

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02238
12638
done2638

end0.0ms

sample1.5s

Algorithm
intervals
Results
337.0ms4818×body160valid
308.0ms16455×pre80true
288.0ms8455×body80nan
147.0ms1399×body320valid
68.0ms1783×body80valid