Details

Time bar (total: 18.0s)

sample184.0ms

Algorithm
intervals
Results
109.0ms135×body1280valid
24.0ms55×body640valid
13.0ms256×pre80true
9.0ms29×body320valid
3.0ms36×body80valid
0.0msbody160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.7b
(tan (+ y z))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
17.0ms
(+ x (- (tan (+ y z)) (tan a)))
19.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(tan (+ y z))

series271.0ms

Counts
3 → 9
Calls
3 calls:
114.0ms
(+ x (- (tan (+ y z)) (tan a)))
108.0ms
(- (tan (+ y z)) (tan a))
48.0ms
(tan (+ y z))

simplify91.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune321.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(+ (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

rewrite292.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
153.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
9.0ms
(+ (tan y) (tan z))
16.0ms
(* (tan y) (tan z))
102.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

series864.0ms

Counts
4 → 12
Calls
4 calls:
329.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
86.0ms
(+ (tan y) (tan z))
86.0ms
(* (tan y) (tan z))
363.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

simplify83.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06764072
120943376
250023265

prune1.5s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.6b
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
2.8b
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

rewrite292.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
89×add-sqr-sqrt
62×add-cube-cbrt
54×prod-diff
53×times-frac
18×cbrt-prod fma-neg
12×unpow-prod-down cube-prod distribute-lft-out
10×difference-of-squares
associate-/r/
tan-quot pow1 add-exp-log flip3-- add-cbrt-cube flip--
cube-div add-log-exp
distribute-lft-out--
expm1-log1p-u log1p-expm1-u div-inv
pow-unpow cbrt-div associate-*r* associate-*l* frac-sub
cube-mult unpow3 sqr-pow
frac-times pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 179
Calls
4 calls:
16.0ms
(* (tan y) (tan z))
100.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
90.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
78.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

series1.5s

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (tan y) (tan z))
407.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
632.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
379.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

simplify99.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06203625
123553053
250023023

prune1.2s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize37.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (/ (+ (tan y) (tan z)) (- 1 (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×tan-quot
11×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
cube-div frac-times pow-unpow associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod
pow-pow pow-exp *-commutative rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod fma-udef sqr-pow
Counts
4 → 83
Calls
4 calls:
0.0ms
(fma (/ (+ (tan y) (tan z)) (- 1 (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
17.0ms
(* (tan y) (tan z))
17.0ms
(* (tan y) (tan z))
14.0ms
(pow (* (tan y) (tan z)) 3)

series3.3s

Counts
4 → 12
Calls
4 calls:
3.0s
(fma (/ (+ (tan y) (tan z)) (- 1 (pow (* (tan y) (tan z)) 3))) (fma (fma (tan y) (tan z) 1) (* (tan y) (tan z)) 1) (+ (- (tan a)) x))
109.0ms
(* (tan y) (tan z))
99.0ms
(* (tan y) (tan z))
151.0ms
(pow (* (tan y) (tan z)) 3)

simplify73.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0427935
12124871
25001870

prune1.2s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes1.0s

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

sample5.4s

Algorithm
intervals
Results
3.2s3976×body1280valid
918.0ms1913×body640valid
516.0ms8000×pre80true
228.0ms708×body320valid
116.0ms1128×body80valid
58.0ms275×body160valid