Details

Time bar (total: 5.9s)

sample332.0ms

Algorithm
intervals
Results
8.0ms33×body2560valid
6.0ms186×body80valid
4.0ms28×body1280valid
3.0ms86×body80nan
2.0ms15×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
1.8b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub div-exp prod-diff neg-log clear-num div-inv
Counts
4 → 100
Calls
4 calls:
68.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(- (* b_2 b_2) (* a c))
22.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
14.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series280.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
35.0ms
(- (* b_2 b_2) (* a c))
76.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
75.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0389850
11366779
25001753

prune287.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.2b

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.1b
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
11.4b
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
199×add-sqr-sqrt
198×*-un-lft-identity
186×times-frac
130×add-cube-cbrt
60×prod-diff
50×sqrt-prod
38×distribute-rgt-neg-in
34×distribute-lft-out-- difference-of-squares
30×associate-/l*
21×distribute-lft-neg-in
11×add-exp-log add-cbrt-cube
10×fma-neg associate-/r* associate-/r/
add-log-exp
neg-mul-1 flip3-- flip--
div-inv
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
associate-/l/
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 284
Calls
4 calls:
31.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
79.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
54.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series450.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
145.0ms
(/ (/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
175.0ms
(/ (+ 0 (* a c)) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify139.0ms

Algorithm
egg-herbie
Counts
296 → 296
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
09195579
139184508
250014505

prune560.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.1b

localize20.0ms

Local error

Found 4 expressions with local error:

3.1b
(/ (/ (* (/ a (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
22.4b
(sqrt (- (* b_2 b_2) (* a c)))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
55×add-sqr-sqrt
52×*-un-lft-identity
36×add-cube-cbrt
29×add-exp-log
28×cbrt-prod
20×add-cbrt-cube
16×associate-/l*
15×cbrt-undiv div-exp
13×sqrt-prod
cbrt-div associate-/r/ distribute-lft-out-- difference-of-squares
pow1 flip3-- flip--
sqrt-div
div-inv
expm1-log1p-u distribute-rgt-neg-in prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r*
frac-2neg clear-num associate-/l/
Counts
4 → 143
Calls
4 calls:
118.0ms
(/ (/ (* (/ a (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series421.0ms

Counts
4 → 12
Calls
4 calls:
230.0ms
(/ (/ (* (/ a (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) (/ c (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))) (cbrt (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) a)
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))
65.0ms
(sqrt (- (* b_2 b_2) (* a c)))
65.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify87.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07133590
132693363
250013342

prune482.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.1b

localize14.0ms

Local error

Found 4 expressions with local error:

8.9b
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
11.6b
(/ (+ 0 (* a c)) (- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))
22.4b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
12×times-frac
10×fma-neg prod-diff
add-log-exp
pow1 add-exp-log distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod add-cbrt-cube
difference-of-squares
expm1-log1p-u flip3-- sqrt-div associate-/r* flip-- log1p-expm1-u
associate-/l*
neg-mul-1 rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/r/ associate-/l/
cbrt-undiv associate--l- neg-sub0 sub-neg frac-2neg flip3-+ div-exp neg-log clear-num flip-+ div-inv
Counts
4 → 108
Calls
4 calls:
14.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
31.0ms
(/ (+ 0 (* a c)) (- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series373.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c))))))
175.0ms
(/ (+ 0 (* a c)) (- (- b_2) (* (sqrt (sqrt (- (* b_2 b_2) (* a c)))) (sqrt (sqrt (- (* b_2 b_2) (* a c)))))))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify74.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
04511972
118901604
250011541

prune347.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.1b

regimes239.0ms

Accuracy

83.5% (4.4b remaining)

Error of 10.1b against oracle of 5.7b and baseline of 32.4b

bsearch98.0ms

Steps
ItersRangePoint
10
7.028227535098625e-82
3.98361551741597e-66
4.900281832529237e-79
10
-1.6375536470903724e+107
-1.9877314958440015e+97
-1.2574766781276779e+107

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03214
13214

end0.0ms

sample1.1s

Algorithm
intervals
Results
196.0ms1051×body2560valid
192.0ms5865×body80valid
148.0ms933×body1280valid
85.0ms2810×body80nan
56.0ms457×body640valid
26.0ms113×body5120valid
21.0ms232×body320valid
7.0ms120×body160valid