Details

Time bar (total: 6.8s)

sample54.0ms

Algorithm
intervals
Results
12.0ms168×body160valid
10.0ms517×pre80true
9.0ms261×body80nan
3.0ms34×body320valid
2.0ms54×body80valid

simplify58.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12517
24516
38716
410516
511316
done11316

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.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))
40.0ms
(/ (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0) a)
24.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)

series320.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
46.0ms
(- (* b b) (* (* 4.0 a) c))
118.0ms
(/ (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0) a)
80.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)

simplify1.0s

Counts
195 → 195
Iterations

Useful iterations: done (1.0s)

IterNodesCost
03214967
17594592
221964283
done50004264

prune520.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 5.5b

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

prune55.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 5.5b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
14.0ms
(/ (/ (* -2.0 (/ (* a c) b)) 2.0) a)
3.0ms
(/ (* a c) b)

series41.0ms

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

simplify865.0ms

Counts
83 → 83
Iterations

Useful iterations: 2 (206.0ms)

IterNodesCost
01711200
14441154
21838992
done5000992

prune232.0ms

Pruning

29 alts after pruning (28 fresh and 1 done)

Merged error: 5.5b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
79×add-exp-log
47×add-cbrt-cube
42×times-frac
33×prod-exp
29×div-exp
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×cbrt-undiv cbrt-unprod
13×associate-*r*
pow1 associate-/l*
div-inv
rec-exp 1-exp
pow-prod-down associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num un-div-inv *-commutative associate-/l/
Counts
2 → 102
Calls
2 calls:
27.0ms
(/ (/ (* -2.0 (* (* a c) (/ 1 b))) 2.0) a)
12.0ms
(* (* a c) (/ 1 b))

series46.0ms

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

simplify1.3s

Counts
108 → 108
Iterations

Useful iterations: 2 (510.0ms)

IterNodesCost
02301768
16691459
227091179
done50011179

prune167.0ms

Pruning

30 alts after pruning (29 fresh and 1 done)

Merged error: 5.4b

regimes344.0ms

Accuracy

8.5% (6.2b remaining)

Error of 11.3b against oracle of 5.1b and baseline of 11.9b

bsearch37.0ms

Steps
ItersRangePoint
4
0.1123162942048503
0.21462860711519482
0.11411310699712364

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02238
12638
done2638

end0.0ms

sample1.5s

Algorithm
intervals
Results
340.0ms4871×body160valid
313.0ms16451×pre80true
282.0ms8451×body80nan
147.0ms1368×body320valid
65.0ms1761×body80valid