Details

Time bar (total: 5.2s)

sample44.0ms

Algorithm
intervals
Results
30.0ms406×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0256
1695
21954
34614
49694
517604
624554
732584
834514
934514

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series125.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0256378
11060326
25001293

prune119.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite75.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:
17.0ms
(+ (- d2 d3) (- d4 d1))
56.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series77.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0391410
11841378
25002378

prune127.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
56.0ms
(* (cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1))) (cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1))))
7.0ms
(cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)))
6.0ms
(cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)))
7.0ms
(cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)))

series471.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(* (cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1))) (cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1))))
119.0ms
(cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)))
109.0ms
(cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)))
110.0ms
(cbrt (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)))

simplify95.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
02681395
19071299
237661182
350021171

prune294.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* d1 (+ (- d2 d3) (+ d4 d1)))
0.1b
(* (* d1 (+ (- d2 d3) (+ d4 d1))) d1)
4.2b
(* (* (* d1 (+ (- d2 d3) (+ d4 d1))) d1) (+ (- d2 d3) (- d4 d1)))
24.8b
(/ (* (* (* d1 (+ (- d2 d3) (+ d4 d1))) d1) (+ (- d2 d3) (- d4 d1))) (* d1 (+ (- d2 d3) (+ d4 d1))))

rewrite667.0ms

Algorithm
rewrite-expression-head
Rules
124×frac-add
114×associate-*r/
102×associate-*l/
90×flip3-- flip--
72×frac-times
65×flip3-+ flip-+
52×add-exp-log add-cbrt-cube
48×associate-/l/
32×*-un-lft-identity
26×prod-exp cbrt-unprod
20×pow1
17×associate-*r*
10×add-sqr-sqrt pow-prod-down distribute-lft-out
cbrt-undiv add-cube-cbrt div-exp
associate-/r/ distribute-lft-out--
associate-*l*
add-log-exp
*-commutative
distribute-rgt-in distribute-lft-in
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l* unswap-sqr
Counts
4 → 212
Calls
4 calls:
53.0ms
(* d1 (+ (- d2 d3) (+ d4 d1)))
63.0ms
(* (* d1 (+ (- d2 d3) (+ d4 d1))) d1)
267.0ms
(* (* (* d1 (+ (- d2 d3) (+ d4 d1))) d1) (+ (- d2 d3) (- d4 d1)))
264.0ms
(/ (* (* (* d1 (+ (- d2 d3) (+ d4 d1))) d1) (+ (- d2 d3) (- d4 d1))) (* d1 (+ (- d2 d3) (+ d4 d1))))

series343.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* d1 (+ (- d2 d3) (+ d4 d1)))
47.0ms
(* (* d1 (+ (- d2 d3) (+ d4 d1))) d1)
199.0ms
(* (* (* d1 (+ (- d2 d3) (+ d4 d1))) d1) (+ (- d2 d3) (- d4 d1)))
46.0ms
(/ (* (* (* d1 (+ (- d2 d3) (+ d4 d1))) d1) (+ (- d2 d3) (- d4 d1))) (* d1 (+ (- d2 d3) (+ d4 d1))))

simplify73.0ms

Algorithm
egg-herbie
Counts
224 → 224
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
016904080
150023884

prune1.0s

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.2s

Algorithm
intervals
Results
915.0ms11971×body80valid