Details

Time bar (total: 4.7s)

sample34.0ms

Algorithm
intervals
Results
8.0ms267×body80nan
8.0ms256×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div distribute-lft-out
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 51
Calls
3 calls:
8.0ms
(+ (* x y) (* x z))
32.0ms
(+ (+ (* x y) (* x z)) (* y z))
36.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series152.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* x y) (* x z))
19.0ms
(+ (+ (* x y) (* x z)) (* y z))
104.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify122.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune164.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 21.0b

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
10×add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log sqrt-prod
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
4 → 72
Calls
4 calls:
54.0ms
(+ (+ (* x y) (* x z)) (* y z))
36.0ms
(+ (+ (* x y) (* x z)) (* y z))
32.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
31.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (+ (* x y) (* x z)) (* y z))
19.0ms
(+ (+ (* x y) (* x z)) (* y z))
104.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
103.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify103.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune299.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 21.0b

localize18.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
20.5b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
20.5b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log expm1-log1p-u cbrt-div fma-def flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
sum-log sqrt-prod
pow1/3 sqrt-div
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
4 → 66
Calls
4 calls:
32.0ms
(+ (+ (* x y) (* x z)) (* y z))
34.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
16.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
16.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series524.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (+ (* x y) (* x z)) (* y z))
103.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
201.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
200.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify112.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0274687
1888627
23686599
35001598

prune399.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 21.0b

localize23.0ms

Local error

Found 4 expressions with local error:

19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.9b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
Counts
4 → 68
Calls
4 calls:
34.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
32.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
35.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
33.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series410.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
100.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
103.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
104.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0150728
1524672
22049660
35001660

prune368.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 21.0b

regimes234.0ms

Accuracy

0% (0.1b remaining)

Error of 19.8b against oracle of 19.7b and baseline of 19.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample944.0ms

Algorithm
intervals
Results
258.0ms8000×body80valid
244.0ms7940×body80nan