Details

Time bar (total: 4.8s)

sample36.0ms

Algorithm
intervals
Results
14.0ms275×body80valid
4.0ms89×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.5b

localize84.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
23.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series301.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune280.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 9.6b

localize88.0ms

Local error

Found 4 expressions with local error:

12.3b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
11.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series304.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune313.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 9.6b

localize88.0ms

Local error

Found 4 expressions with local error:

9.5b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
16.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify107.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune308.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 9.6b

localize94.0ms

Local error

Found 4 expressions with local error:

25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp
Counts
4 → 60
Calls
4 calls:
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify66.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune404.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 9.6b

regimes162.0ms

Accuracy

92.1% (1.0b remaining)

Error of 8.6b against oracle of 7.6b and baseline of 20.0b

bsearch181.0ms

Steps
ItersRangePoint
8
3.1248942757642245e+89
1.1714167766929137e+92
2.505453058045537e+91
10
-3.890563902308465e+123
-8.190267231000954e+105
-3.208627552530475e+123

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05060
15060

end0.0ms

sample916.0ms

Algorithm
intervals
Results
440.0ms8677×body80valid
135.0ms2915×body80nan