Details

Time bar (total: 3.9s)

sample30.0ms

Algorithm
intervals
Results
14.0ms371×body80valid

simplify97.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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
associate-*r*
associate-*r/
add-sqr-sqrt
flip3-- frac-add flip-- distribute-lft-out distribute-lft-out--
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 30
Calls
1 calls:
108.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series50.0ms

Counts
1 → 3
Calls
1 calls:
50.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

simplify49.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0298214
11486191
25003191

prune69.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
diff-log
add-sqr-sqrt sum-log
pow1 add-exp-log add-cube-cbrt sub-neg *-un-lft-identity add-cbrt-cube
associate-+l- associate-+l+ flip3-- flip--
+-commutative associate--l- flip3-+ associate--l+ flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 45
Calls
3 calls:
8.0ms
(- (* d1 d2) (* d1 d3))
137.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
27.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

series134.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (* d1 d2) (* d1 d3))
57.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
39.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

simplify41.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0256378
11060326
25001293

prune116.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (cbrt (pow (* d1 (- d2 d3)) 3)) (* d4 d1)) (* d1 d1))
0.0b
(+ (cbrt (pow (* d1 (- d2 d3)) 3)) (* d4 d1))
0.3b
(pow (* d1 (- d2 d3)) 3)
33.3b
(cbrt (pow (* d1 (- d2 d3)) 3))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
11×add-log-exp
cbrt-prod
pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
cube-div associate-*r/
pow-unpow flip3-- flip--
cube-mult unpow-prod-down cbrt-div pow-pow diff-log unpow3 cube-prod pow-exp sum-log rem-cube-cbrt sqr-pow
+-commutative pow-to-exp sub-neg flip3-+ pow1/3 pow-prod-down prod-exp associate--l+ rem-cbrt-cube cbrt-unprod flip-+ difference-of-squares
Counts
4 → 69
Calls
4 calls:
77.0ms
(- (+ (cbrt (pow (* d1 (- d2 d3)) 3)) (* d4 d1)) (* d1 d1))
15.0ms
(+ (cbrt (pow (* d1 (- d2 d3)) 3)) (* d4 d1))
9.0ms
(pow (* d1 (- d2 d3)) 3)
3.0ms
(cbrt (pow (* d1 (- d2 d3)) 3))

series262.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (+ (cbrt (pow (* d1 (- d2 d3)) 3)) (* d4 d1)) (* d1 d1))
65.0ms
(+ (cbrt (pow (* d1 (- d2 d3)) 3)) (* d4 d1))
59.0ms
(pow (* d1 (- d2 d3)) 3)
55.0ms
(cbrt (pow (* d1 (- d2 d3)) 3))

simplify58.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0379549
11816461
25003447

prune198.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite410.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:
47.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
47.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
104.0ms
(* d1 (sqrt (+ (- d2 d3) (- d4 d1))))
202.0ms
(* (* d1 (sqrt (+ (- d2 d3) (- d4 d1)))) (sqrt (+ (- d2 d3) (- d4 d1))))

series530.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
150.0ms
(sqrt (+ (- d2 d3) (- d4 d1)))
174.0ms
(* d1 (sqrt (+ (- d2 d3) (- d4 d1))))
53.0ms
(* (* d1 (sqrt (+ (- d2 d3) (- d4 d1)))) (sqrt (+ (- d2 d3) (- d4 d1))))

simplify88.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06962812
127072615
250022584

prune414.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes96.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

sample795.0ms

Algorithm
intervals
Results
389.0ms12061×body80valid