Details

Time bar (total: 9.9s)

sample196.0ms

Algorithm
intervals
Results
100.0ms132×body1280valid
37.0ms69×body640valid
25.0ms256×pre80true
5.0ms16×body320valid
4.0ms35×body80valid
1.0msbody160valid

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.4b
(tan (+ y z))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series275.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune145.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

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

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
69.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
3.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
40.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

series875.0ms

Counts
4 → 12
Calls
4 calls:
328.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
89.0ms
(+ (tan y) (tan z))
90.0ms
(* (tan y) (tan z))
369.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

simplify78.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune273.0ms

Pruning

10 alts after pruning (9 fresh and 1 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.1b
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
0.2b
(* (tan y) (tan z))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
17×add-sqr-sqrt
16×add-log-exp
15×add-cube-cbrt
12×times-frac
11×distribute-lft-out
10×tan-quot
add-exp-log add-cbrt-cube
sum-log
pow1
flip3-+ frac-add flip-+ associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
+-commutative distribute-rgt-neg-in neg-log associate-/r/ distribute-neg-frac
cbrt-undiv neg-sub0 frac-times associate-+r- associate-+l+ flip3-- frac-2neg associate-*r/ div-exp unsub-neg pow-prod-down associate-*l/ prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
4 → 94
Calls
4 calls:
12.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
3.0ms
(+ (tan y) (tan z))
101.0ms
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
5.0ms
(* (tan y) (tan z))

series708.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
89.0ms
(+ (tan y) (tan z))
325.0ms
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
90.0ms
(* (tan y) (tan z))

simplify53.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04961217
118981161
250011139

prune342.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
pow-sqr *-commutative pow-prod-up add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 112
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
7.0ms
(* (tan y) (tan z))
20.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series371.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (tan y) (tan z))
87.0ms
(* (tan y) (tan z))
88.0ms
(* (tan y) (tan z))
109.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify41.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0311770
11417646
25001625

prune361.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes241.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01911
11911

end0.0ms

sample5.6s

Algorithm
intervals
Results
3.1s3936×body1280valid
911.0ms1960×body640valid
771.0ms8000×pre80true
238.0ms700×body320valid
145.0ms1132×body80valid
77.0ms272×body160valid