Details

Time bar (total: 5.8s)

sample25.0ms

Algorithm
intervals
Results
12.0ms376×body80valid

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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.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:
9.0ms
(+ (- d2 d3) (- d4 d1))
12.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series82.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0391410
11841378
25002378

prune135.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

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

series129.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0256378
11060326
25001293

prune114.0ms

Pruning

4 alts after pruning (2 fresh and 2 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))))

rewrite44.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))
16.0ms
(* (sqrt d1) (+ (- d2 d3) (- d4 d1)))
15.0ms
(* (sqrt d1) (* (sqrt d1) (+ (- d2 d3) (- d4 d1))))

series254.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (- d2 d3) (- d4 d1))
134.0ms
(* (sqrt d1) (+ (- d2 d3) (- d4 d1)))
85.0ms
(* (sqrt d1) (* (sqrt d1) (+ (- d2 d3) (- d4 d1))))

simplify63.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0535766
12576682
25002682

prune220.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3)
1.4b
(+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4))
3.8b
(- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3))
37.6b
(/ (- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3)) (+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4)))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt
80×difference-of-squares
63×times-frac
43×unpow-prod-down *-un-lft-identity cube-prod
41×sqr-pow
33×add-cube-cbrt
21×associate-/l*
add-log-exp
add-exp-log add-cbrt-cube
pow1 difference-cubes distribute-lft-out--
pow-unpow flip3-+ associate-/r* flip-+
cube-div associate-+l+ flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative distribute-rgt-in cube-mult pow-to-exp sub-neg pow-pow frac-2neg distribute-lft-in diff-log unpow3 div-sub div-exp pow-exp clear-num sum-log div-inv rem-cube-cbrt
Counts
4 → 172
Calls
4 calls:
7.0ms
(pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3)
18.0ms
(+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4))
17.0ms
(- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3))
36.0ms
(/ (- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3)) (+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4)))

series2.6s

Counts
4 → 12
Calls
4 calls:
223.0ms
(pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3)
426.0ms
(+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4))
1.3s
(- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3))
606.0ms
(/ (- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3)) (+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4)))

simplify143.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
07405354
137225078
250025043

prune844.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample688.0ms

Algorithm
intervals
Results
392.0ms11860×body80valid