Details

Time bar (total: 4.6s)

sample26.0ms

Algorithm
intervals
Results
13.0ms389×body80valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0256
1695
21954
34614
49694
517604
624554
732584
834514
934514

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
0.0b
(- (* d1 d2) (* d1 d3))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
diff-log
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- *-un-lft-identity sum-log add-cbrt-cube flip--
associate--l- associate-+l- associate--l+ distribute-lft-out-- difference-of-squares
Counts
2 → 30
Calls
2 calls:
62.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
2.0ms
(- (* d1 d2) (* d1 d3))

series93.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
38.0ms
(- (* d1 d2) (* d1 d3))

simplify128.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0204267
1850224
24913200
35002200

prune78.0ms

Filtered
36 candidates to 26 candidates (72.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (- d2 d3) (- d4 d1))
0.0b
(* d1 (+ (- d2 d3) (- d4 d1)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
14×add-log-exp
flip3-- frac-add flip-- distribute-lft-out distribute-lft-out--
associate-*r*
add-sqr-sqrt associate-*r/
pow1 add-exp-log add-cube-cbrt diff-log sum-log add-cbrt-cube
associate-*l*
sub-neg associate-+l+ associate-+r+ flip3-+ flip-+
+-commutative distribute-rgt-in associate-+l- associate-+r- distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 58
Calls
2 calls:
20.0ms
(+ (- d2 d3) (- d4 d1))
57.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (- d2 d3) (- d4 d1))
48.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0391410
11841378
25002378

prune128.0ms

Filtered
64 candidates to 42 candidates (65.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ (- d2 d3) (- d4 d1)))
0.5b
(cbrt (+ (- d2 d3) (- d4 d1)))
0.5b
(cbrt (+ (- d2 d3) (- d4 d1)))
0.6b
(* (cbrt (+ (- d2 d3) (- d4 d1))) (cbrt (+ (- d2 d3) (- d4 d1))))

rewrite174.0ms

Algorithm
rewrite-expression-head
Rules
203×*-un-lft-identity
102×cbrt-div
93×cbrt-prod
68×flip3-- frac-add flip--
60×distribute-lft-out distribute-lft-out--
36×frac-times
30×swap-sqr
23×add-sqr-sqrt
17×flip3-+ flip-+
15×add-cube-cbrt
11×pow1
10×associate-*r* associate-*l*
pow1/3
add-exp-log associate-*r/ associate-*l/
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 183
Calls
4 calls:
14.0ms
(cbrt (+ (- d2 d3) (- d4 d1)))
14.0ms
(cbrt (+ (- d2 d3) (- d4 d1)))
14.0ms
(cbrt (+ (- d2 d3) (- d4 d1)))
117.0ms
(* (cbrt (+ (- d2 d3) (- d4 d1))) (cbrt (+ (- d2 d3) (- d4 d1))))

series862.0ms

Counts
4 → 12
Calls
4 calls:
220.0ms
(cbrt (+ (- d2 d3) (- d4 d1)))
223.0ms
(cbrt (+ (- d2 d3) (- d4 d1)))
220.0ms
(cbrt (+ (- d2 d3) (- d4 d1)))
199.0ms
(* (cbrt (+ (- d2 d3) (- d4 d1))) (cbrt (+ (- d2 d3) (- d4 d1))))

simplify73.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04623341
116363257
250023027

prune517.0ms

Filtered
195 candidates to 109 candidates (55.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (- d2 d3) (- d4 d1)))
0.0b
(sqrt (+ (- d2 d3) (- d4 d1)))
0.1b
(* d1 (sqrt (+ (- d2 d3) (- d4 d1))))
0.2b
(* (* d1 (sqrt (+ (- d2 d3) (- d4 d1)))) (sqrt (+ (- d2 d3) (- d4 d1))))

rewrite238.0ms

Algorithm
rewrite-expression-head
Rules
102×sqrt-div
68×flip3-- frac-add flip--
59×*-un-lft-identity
54×associate-*r/
36×frac-times
29×sqrt-prod
20×associate-*r*
17×add-sqr-sqrt flip3-+ flip-+
16×distribute-lft-out distribute-lft-out--
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
associate-*l/
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative unswap-sqr
Counts
4 → 151
Calls
4 calls:
26.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
28.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
59.0ms
(* d1 (sqrt (+ (- d2 d3) (- d4 d1))))
114.0ms
(* (* d1 (sqrt (+ (- d2 d3) (- d4 d1)))) (sqrt (+ (- d2 d3) (- d4 d1))))

series525.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
154.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
172.0ms
(* d1 (sqrt (+ (- d2 d3) (- d4 d1))))
51.0ms
(* (* d1 (sqrt (+ (- d2 d3) (- d4 d1)))) (sqrt (+ (- d2 d3) (- d4 d1))))

simplify82.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06962812
127072615
250022584

prune457.0ms

Filtered
163 candidates to 99 candidates (60.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes97.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample703.0ms

Algorithm
intervals
Results
406.0ms11967×body80valid