Details

Time bar (total: 7.3s)

sample37.0ms

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

simplify46.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
01217
12217
24216
38316
410216
511016
done11016

prune5.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.5b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.8b
(- (* b b) (* (* 3.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
21.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite54.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:
33.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
44.0ms
(- (* b b) (* (* 3.0 a) c))
75.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify480.0ms

Counts
102 → 102
Iterations

Useful iterations: done (478.0ms)

IterNodesCost
01671697
14441586
215731363
done50001353

prune272.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.6b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite116.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:
16.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
51.0ms
(/ (/ (+ (* 3.0 (* a c)) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
35.0ms
(/ (+ (* 3.0 (* a c)) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series449.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
139.0ms
(/ (/ (+ (* 3.0 (* a c)) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
169.0ms
(/ (+ (* 3.0 (* a c)) (* b (- b b))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify1.4s

Counts
244 → 244
Iterations

Useful iterations: done (1.4s)

IterNodesCost
033810795
18488234
231796673
done50006650

prune532.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 5.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 1 (* 3.0 a))
0.8b
(- (* b b) (* (* 3.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
21.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite25.0ms

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

series205.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 1 (* 3.0 a))
47.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify522.0ms

Counts
102 → 102
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
01521159
13841039
21383925
done5001925

prune245.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 5.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 3.0 a) c)
0.8b
(- (* b b) (* (* 3.0 a) c))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
21.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series207.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
46.0ms
(- (* b b) (* (* 3.0 a) c))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
65.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify506.0ms

Counts
92 → 92
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
01351109
13511006
21323900
done5001900

prune218.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 5.3b

regimes317.0ms

Accuracy

85.5% (3.9b remaining)

Error of 9.2b against oracle of 5.3b and baseline of 32.3b

bsearch157.0ms

Steps
ItersRangePoint
8
1.9086145032856143e-23
7.928945926733413e-19
1.772190746664465e-19
9
1.2164171611905196e-216
4.13282170633036e-209
4.515321176082739e-212
7
-2.3888623512096697e+55
-3.7205165428256016e+53
-2.245039883241749e+55

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04074
15174
done5174

end0.0ms

sample1.1s

Algorithm
intervals
Results
235.0ms1075×body2560valid
212.0ms5843×body80valid
162.0ms906×body1280valid
99.0ms2890×body80nan
63.0ms453×body640valid
26.0ms101×body5120valid
24.0ms234×body320valid
8.0ms119×body160valid