Details

Time bar (total: 6.5s)

sample56.0ms

Algorithm
intervals
Results
11.0ms161×body160valid
10.0ms297×body80nan
9.0ms553×pre80true
3.0ms31×body320valid
2.0ms64×body80valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219
done1219

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 42.4b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
63.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
9.0ms
(- (* b b) (* (* 4.0 a) c))
25.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series316.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
116.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
46.0ms
(- (* b b) (* (* 4.0 a) c))
84.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify49.0ms

Counts
102 → 102
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0438854
11702750
25001735
done5001735

prune263.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
123×add-sqr-sqrt *-un-lft-identity
90×times-frac
79×add-cube-cbrt
61×prod-diff
41×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
11×fma-neg
10×add-log-exp
associate-/r*
cbrt-undiv neg-mul-1 div-exp
associate-/r/
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 231
Calls
4 calls:
29.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(- (* b b) (* (* 4.0 a) c))
55.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
84.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))

series474.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
45.0ms
(- (* b b) (* (* 4.0 a) c))
189.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
158.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))

simplify146.0ms

Counts
243 → 243
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
08325099
139673830
250013828
done50013828

prune550.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))))) (* 2.0 a))
0.5b
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
0.7b
(pow (- (* b b) (* (* 4.0 a) c)) 3)

rewrite260.0ms

Algorithm
rewrite-expression-head
Rules
166×add-sqr-sqrt
138×times-frac
96×*-un-lft-identity
60×difference-of-squares
56×add-cube-cbrt
52×cbrt-prod
50×sqrt-prod
42×associate-/l*
20×distribute-lft-out--
19×add-exp-log add-cbrt-cube
16×unpow-prod-down cube-prod
12×associate-/r* sqr-pow
10×distribute-rgt-neg-in
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
cube-div expm1-log1p-u log1p-expm1-u div-inv add-log-exp
pow-unpow associate-/l/
cube-mult cbrt-div frac-2neg unpow3 prod-exp clear-num cbrt-unprod
pow-to-exp pow-pow flip3-+ pow1/3 pow-exp rem-cbrt-cube flip-+ rem-cube-cbrt
Counts
4 → 217
Calls
4 calls:
91.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
138.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))))) (* 2.0 a))
10.0ms
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
10.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3)

series482.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
150.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))))) (* 2.0 a))
50.0ms
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
94.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3)

simplify151.0ms

Counts
229 → 229
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
08804267
145663879
250013878
done50013878

prune663.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
91×*-un-lft-identity
57×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-neg-in distribute-rgt-neg-in
27×add-exp-log add-cbrt-cube
17×distribute-lft-out
15×associate-/r* div-inv
10×cbrt-undiv div-exp
neg-mul-1 associate-/l* add-log-exp
prod-exp cbrt-unprod
pow1 expm1-log1p-u log1p-expm1-u
fma-def
frac-2neg flip3-+ clear-num associate-/r/ flip-+ distribute-neg-frac
+-commutative sub-neg flip3-- fma-neg diff-log prod-diff sum-log flip-- associate-/l/
Counts
4 → 184
Calls
4 calls:
19.0ms
(/ (* 4.0 (* a c)) a)
14.0ms
(+ b (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(/ (/ (* 4.0 (* a c)) a) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(- (* b b) (* (* 4.0 a) c))

series295.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (* 4.0 (* a c)) a)
84.0ms
(+ b (sqrt (- (* b b) (* (* 4.0 a) c))))
154.0ms
(/ (/ (* 4.0 (* a c)) a) (- (+ b (sqrt (- (* b b) (* (* 4.0 a) c))))))
46.0ms
(- (* b b) (* (* 4.0 a) c))

simplify109.0ms

Counts
196 → 196
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
08392756
145542476
250022473
done50022473

prune508.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes130.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03420
13520
23520
done3520

end0.0ms

sample1.5s

Algorithm
intervals
Results
327.0ms4854×body160valid
281.0ms16492×pre80true
270.0ms8492×body80nan
133.0ms1348×body320valid
60.0ms1798×body80valid