Details

Time bar (total: 8.8s)

sample41.0ms

Algorithm
intervals
Results
9.0ms40×body2560valid
7.0ms187×body80valid
4.0ms23×body1280valid
3.0ms86×body80nan
2.0ms16×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify51.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12517
24516
38716
410616
511416
done11416

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.8b
(- (* b b) (* (* 4.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite61.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:
36.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
3.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series330.0ms

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

simplify554.0ms

Counts
102 → 102
Iterations

Useful iterations: done (548.0ms)

IterNodesCost
01671697
14491584
216001361
done50001351

prune326.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.6b

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0b
(/ (/ (+ (* (* 4.0 a) c) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
8.8b
(/ (+ (* (* 4.0 a) c) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×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
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 232
Calls
4 calls:
17.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
57.0ms
(/ (/ (+ (* (* 4.0 a) c) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
42.0ms
(/ (+ (* (* 4.0 a) c) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series523.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
162.0ms
(/ (/ (+ (* (* 4.0 a) c) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
200.0ms
(/ (+ (* (* 4.0 a) c) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.4s

Counts
244 → 244
Iterations

Useful iterations: done (1.4s)

IterNodesCost
033710795
18438234
230526673
done50016650

prune555.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (- b) (sqrt (- (pow b 2) (* 4.0 (* a c))))) (* 2.0 a))
0.8b
(- (pow b 2) (* 4.0 (* a c)))
1.3b
(+ (- b) (sqrt (- (pow b 2) (* 4.0 (* a c)))))
21.1b
(sqrt (- (pow b 2) (* 4.0 (* a c))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
15×add-sqr-sqrt
14×add-cube-cbrt
10×fma-def add-log-exp
add-exp-log add-cbrt-cube
fma-neg prod-diff
unpow-prod-down 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/ unpow2 sqr-pow
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 104
Calls
4 calls:
54.0ms
(/ (+ (- b) (sqrt (- (pow b 2) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (pow b 2) (* 4.0 (* a c)))
20.0ms
(+ (- b) (sqrt (- (pow b 2) (* 4.0 (* a c)))))
10.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series295.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (+ (- b) (sqrt (- (pow b 2) (* 4.0 (* a c))))) (* 2.0 a))
46.0ms
(- (pow b 2) (* 4.0 (* a c)))
79.0ms
(+ (- b) (sqrt (- (pow b 2) (* 4.0 (* a c)))))
67.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify581.0ms

Counts
116 → 116
Iterations

Useful iterations: done (578.0ms)

IterNodesCost
01821925
14741793
216711543
done50001542

prune334.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ 2.0 (/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) a)))
0.8b
(- (pow b 2) (* 4.0 (* a c)))
1.3b
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
21.1b
(sqrt (- (pow b 2) (* 4.0 (* a c))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
693×times-frac
456×add-sqr-sqrt
381×*-un-lft-identity
307×add-cube-cbrt
74×difference-of-squares
71×associate-/r*
52×sqrt-prod
37×distribute-lft-out--
26×prod-diff
25×add-exp-log
17×div-inv
15×div-exp
14×fma-neg
13×add-cbrt-cube
add-log-exp
pow1 cbrt-undiv unpow-prod-down
associate-/r/
expm1-log1p-u log1p-expm1-u
rec-exp flip3-- 1-exp flip-- associate-/l*
sub-neg sqrt-div diff-log unpow2 sqr-pow
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num inv-pow
Counts
4 → 402
Calls
4 calls:
49.0ms
(/ 1 (/ 2.0 (/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) a)))
9.0ms
(- (pow b 2) (* 4.0 (* a c)))
47.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
10.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series519.0ms

Counts
4 → 12
Calls
4 calls:
324.0ms
(/ 1 (/ 2.0 (/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) a)))
43.0ms
(- (pow b 2) (* 4.0 (* a c)))
78.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
74.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify588.0ms

Counts
414 → 414
Iterations

Useful iterations: done (567.0ms)

IterNodesCost
063713093
1153111820
done500111142

prune708.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.3b

regimes182.0ms

Accuracy

85.1% (4.2b remaining)

Error of 9.5b against oracle of 5.3b and baseline of 33.8b

bsearch140.0ms

Steps
ItersRangePoint
8
1.9086145032856143e-23
7.928945926733413e-19
1.0486964725483499e-20
4
5.373368029867189e-105
8.528584395310529e-105
6.785925920671322e-105
7
-3.550313394724354e+57
-2.3888623512096697e+55
-3.124283374205192e+57

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04573
15773
done5773

end0.0ms

sample1.1s

Algorithm
intervals
Results
240.0ms1074×body2560valid
218.0ms5844×body80valid
169.0ms907×body1280valid
100.0ms2890×body80nan
63.0ms452×body640valid
27.0ms102×body5120valid
25.0ms234×body320valid
8.0ms119×body160valid