Details

Time bar (total: 11.6s)

sample206.0ms

Algorithm
intervals
Results
112.0ms128×body1280valid
35.0ms55×body640valid
20.0ms256×pre80true
10.0ms27×body320valid
5.0ms35×body80valid
3.0ms11×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 11.5b

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))
3.7b
(tan (+ y z))

rewrite28.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:
14.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series284.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(+ x (- (tan (+ y z)) (tan a)))
113.0ms
(- (tan (+ y z)) (tan a))
50.0ms
(tan (+ y z))

simplify90.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune228.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
61×times-frac
54×prod-diff
18×fma-neg
17×distribute-lft-out
10×associate-/r/
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-- flip--
div-inv
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
flip3-+ frac-add flip-+ difference-of-squares
cbrt-undiv +-commutative frac-times sub-neg frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num sum-log *-commutative frac-sub cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 169
Calls
4 calls:
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
3.0ms
(+ (tan y) (tan z))
50.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series769.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
90.0ms
(+ (tan y) (tan z))
380.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
91.0ms
(* (tan y) (tan z))

simplify71.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05582912
119722364
250012337

prune543.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(/ (* (sin y) (tan z)) (cos y))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a))
0.3b
(* (sin y) (tan z))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
183×*-un-lft-identity
138×add-sqr-sqrt
100×times-frac
90×prod-diff
83×add-cube-cbrt
34×difference-of-squares
30×fma-neg
25×distribute-lft-out
17×distribute-lft-out--
11×add-exp-log add-cbrt-cube
associate-/r/ add-log-exp
pow1
tan-quot flip3-- flip-- div-inv
expm1-log1p-u log1p-expm1-u
fma-def associate-*r* associate-*l* associate-/r*
cbrt-undiv associate-*r/ div-exp prod-exp cbrt-unprod
+-commutative sub-neg frac-2neg flip3-+ diff-log pow-prod-down frac-add clear-num sum-log *-commutative frac-sub flip-+ associate-/l/ associate-/l* unswap-sqr
Counts
4 → 201
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
5.0ms
(/ (* (sin y) (tan z)) (cos y))
98.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a))
5.0ms
(* (sin y) (tan z))

series680.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ (tan y) (tan z))
106.0ms
(/ (* (sin y) (tan z)) (cos y))
399.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (tan z)) (cos y)))) (tan a))
80.0ms
(* (sin y) (tan z))

simplify86.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06714168
123743272
250013230

prune621.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(/ (* (sin y) (tan z)) (cos y))
0.2b
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (/ (* (sin y) (tan z)) (cos y)))) (- (tan a)))
0.3b
(* (sin y) (tan z))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
add-cube-cbrt
pow1 add-log-exp
tan-quot expm1-log1p-u log1p-expm1-u
fma-def times-frac associate-*r* associate-*l* associate-/r*
cbrt-undiv associate-*r/ div-exp prod-exp cbrt-unprod
+-commutative frac-2neg flip3-+ pow-prod-down frac-add clear-num sum-log *-commutative flip-+ fma-udef div-inv associate-/l/ distribute-lft-out associate-/l* unswap-sqr
Counts
4 → 73
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
5.0ms
(/ (* (sin y) (tan z)) (cos y))
0.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (/ (* (sin y) (tan z)) (cos y)))) (- (tan a)))
4.0ms
(* (sin y) (tan z))

series606.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan y) (tan z))
102.0ms
(/ (* (sin y) (tan z)) (cos y))
332.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (/ (* (sin y) (tan z)) (cos y)))) (- (tan a)))
79.0ms
(* (sin y) (tan z))

simplify39.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0339658
11257580
25002579

prune381.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes649.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03126
13626
23626

end0.0ms

sample6.0s

Algorithm
intervals
Results
3.5s3886×body1280valid
1.1s2011×body640valid
594.0ms8000×pre80true
262.0ms674×body320valid
155.0ms1159×body80valid
76.0ms270×body160valid