Details

Time bar (total: 3.4s)

sample35.0ms

Algorithm
intervals
Results
22.0ms373×body80valid

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

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite74.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:
60.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
2.0ms
(- (* d1 d2) (* d1 d3))
11.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

series124.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0256378
11060326
25001293

prune119.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.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:
19.0ms
(+ (- d2 d3) (- d4 d1))
59.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series79.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0391410
11841378
25002378

prune128.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (cbrt (pow (* d1 (+ (- d2 d3) d4)) 3)) (* d1 d1))
0.0b
(* d1 (+ (- d2 d3) d4))
0.4b
(pow (* d1 (+ (- d2 d3) d4)) 3)
29.3b
(cbrt (pow (* d1 (+ (- d2 d3) d4)) 3))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×add-sqr-sqrt
10×cbrt-prod
pow1 add-exp-log add-cbrt-cube
add-cube-cbrt
associate-*r/ add-log-exp
associate-*r*
cube-div
pow-unpow flip3-+ associate-*l* flip-+ difference-of-squares sqr-pow
cube-mult unpow-prod-down cbrt-div pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod distribute-lft-out rem-cube-cbrt
distribute-rgt-in pow-to-exp sub-neg flip3-- distribute-lft-in pow1/3 diff-log *-commutative flip-- rem-cbrt-cube distribute-lft-out-- unswap-sqr
Counts
4 → 82
Calls
4 calls:
13.0ms
(- (cbrt (pow (* d1 (+ (- d2 d3) d4)) 3)) (* d1 d1))
37.0ms
(* d1 (+ (- d2 d3) d4))
14.0ms
(pow (* d1 (+ (- d2 d3) d4)) 3)
3.0ms
(cbrt (pow (* d1 (+ (- d2 d3) d4)) 3))

series388.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(- (cbrt (pow (* d1 (+ (- d2 d3) d4)) 3)) (* d1 d1))
32.0ms
(* d1 (+ (- d2 d3) d4))
205.0ms
(pow (* d1 (+ (- d2 d3) d4)) 3)
56.0ms
(cbrt (pow (* d1 (+ (- d2 d3) d4)) 3))

simplify62.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0381593
11876518
25003512

prune217.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
18×associate-*r/
15×add-log-exp
12×add-sqr-sqrt flip3-- associate-*l* frac-add flip--
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt associate-*r* distribute-lft-out distribute-lft-out--
sqrt-prod
distribute-rgt-in distribute-lft-in
diff-log pow-prod-down prod-exp sum-log cbrt-unprod
flip3-+ flip-+
sub-neg associate-+l+ associate-+r+ *-commutative unswap-sqr
+-commutative associate-+l- associate-+r-
Counts
3 → 93
Calls
3 calls:
18.0ms
(+ (- d2 d3) (- d4 d1))
60.0ms
(* (sqrt d1) (+ (- d2 d3) (- d4 d1)))
57.0ms
(* (sqrt d1) (* (sqrt d1) (+ (- d2 d3) (- d4 d1))))

series248.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (- d2 d3) (- d4 d1))
136.0ms
(* (sqrt d1) (+ (- d2 d3) (- d4 d1)))
82.0ms
(* (sqrt d1) (* (sqrt d1) (+ (- d2 d3) (- d4 d1))))

simplify69.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0535766
12576682
25002682

prune218.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample1.0s

Algorithm
intervals
Results
738.0ms11882×body80valid