Details

Time bar (total: 6.3s)

sample25.0ms

Algorithm
intervals
Results
12.0ms376×body80valid

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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite83.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))
62.0ms
(* d1 (+ (- d2 d3) (- d4 d1)))

series81.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0391410
11841378
25002378

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

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

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

simplify38.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0256378
11060326
25001293

prune124.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

rewrite141.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:
20.0ms
(+ (- d2 d3) (- d4 d1))
59.0ms
(* (sqrt d1) (+ (- d2 d3) (- d4 d1)))
57.0ms
(* (sqrt d1) (* (sqrt d1) (+ (- d2 d3) (- d4 d1))))

series254.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0535766
12576682
25002682

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

rewrite464.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:
15.0ms
(pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3)
26.0ms
(+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4))
127.0ms
(- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3))
285.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)
434.0ms
(+ (* (+ (* d1 d4) (* d1 (- d2 d3))) (+ (* d1 (- d2 d3)) (+ (* d4 d1) (pow d1 2)))) (pow d1 4))
1.4s
(- (pow (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) 3) (pow (* d1 d1) 3))
619.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)))

simplify159.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
07405354
137225078
250025043

prune687.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample685.0ms

Algorithm
intervals
Results
394.0ms11860×body80valid