Details

Time bar (total: 2.5s)

sample28.0ms

Algorithm
intervals
Results
13.0ms392×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0256
1695
21954
34614
49694
517604
624554
732584
834514
934514

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.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:
15.0ms
(+ (- d2 d3) (- d4 d1))
20.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series80.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0391410
11841378
25002378

prune113.0ms

Filtered
64 candidates to 42 candidates (65.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New62264
Fresh011
Picked011
Done000
Total62466

Merged error: 0.0b

Counts
66 → 4

localize9.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)) (* d4 d1))
0.0b
(- (* d1 d2) (* d1 d3))

rewrite17.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)) (* d4 d1)) (* d1 d1))
5.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))
3.0ms
(- (* d1 d2) (* d1 d3))

series123.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0256378
11060326
25001293

prune111.0ms

Filtered
54 candidates to 40 candidates (74.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New53154
Fresh112
Picked011
Done011
Total54458

Merged error: 0.0b

Counts
58 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (log (- (* d1 d2) (* d1 d3)))) (* d4 d1))
0.0b
(- (* d1 d2) (* d1 d3))
2.4b
(exp (log (- (* d1 d2) (* d1 d3))))
4.8b
(log (- (* d1 d2) (* d1 d3)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
log-prod add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
add-exp-log
log-div exp-prod exp-sum add-cbrt-cube
flip3-- flip-- distribute-lft-out--
exp-diff log-pow
+-commutative sub-neg flip3-+ diff-log rem-log-exp sum-log flip-+ rem-exp-log
Counts
4 → 57
Calls
4 calls:
7.0ms
(+ (exp (log (- (* d1 d2) (* d1 d3)))) (* d4 d1))
3.0ms
(- (* d1 d2) (* d1 d3))
5.0ms
(exp (log (- (* d1 d2) (* d1 d3))))
3.0ms
(log (- (* d1 d2) (* d1 d3)))

series171.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (exp (log (- (* d1 d2) (* d1 d3)))) (* d4 d1))
37.0ms
(- (* d1 d2) (* d1 d3))
35.0ms
(exp (log (- (* d1 d2) (* d1 d3))))
64.0ms
(log (- (* d1 d2) (* d1 d3)))

simplify89.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0247452
1876382
23556358
35002349

prune164.0ms

Filtered
69 candidates to 51 candidates (73.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh011
Picked011
Done022
Total69473

Merged error: 0.0b

Counts
73 → 4

localize8.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))))

rewrite41.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:
9.0ms
(+ (- d2 d3) (- d4 d1))
13.0ms
(* (sqrt d1) (+ (- d2 d3) (- d4 d1)))
15.0ms
(* (sqrt d1) (* (sqrt d1) (+ (- d2 d3) (- d4 d1))))

series246.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0535766
12576682
25002682

prune202.0ms

Filtered
102 candidates to 68 candidates (66.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done033
Total1024106

Merged error: 0.0b

Counts
106 → 4

regimes103.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
0104
1104

end0.0ms

sample677.0ms

Algorithm
intervals
Results
391.0ms11907×body80valid