Details

Time bar (total: 10.0s)

sample169.0ms

Algorithm
intervals
Results
92.0ms113×body1280valid
30.0ms73×body640valid
10.0ms256×pre80true
7.0ms23×body320valid
4.0ms39×body80valid
2.0msbody160valid

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.2b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.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:
17.0ms
(- (tan (+ y z)) (tan a))
15.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(tan (+ y z))

series323.0ms

Counts
3 → 9
Calls
3 calls:
127.0ms
(- (tan (+ y z)) (tan a))
136.0ms
(+ x (- (tan (+ y z)) (tan a)))
61.0ms
(tan (+ y z))

simplify42.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune147.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
60.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
30.0ms
(* (+ (tan y) (tan z)) (cos a))
15.0ms
(* (tan y) (tan z))
19.0ms
(* (tan y) (tan z))

series884.0ms

Counts
4 → 12
Calls
4 calls:
523.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
162.0ms
(* (+ (tan y) (tan z)) (cos a))
100.0ms
(* (tan y) (tan z))
99.0ms
(* (tan y) (tan z))

simplify71.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05871304
126941144
250011128

prune455.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan z) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
4.3b
(/ (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (- (tan y) (tan z)))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
38×tan-quot
24×add-sqr-sqrt
20×associate-*l/
18×*-un-lft-identity
15×pow1 add-exp-log add-cbrt-cube
14×add-cube-cbrt
11×associate-/l/
10×frac-sub
frac-times associate-*r/ associate-*r* associate-*l*
times-frac associate-/r*
prod-exp cbrt-unprod add-log-exp
swap-sqr pow-prod-down associate-/r/ *-commutative unswap-sqr
cbrt-undiv flip3-- div-exp flip-- distribute-lft-out-- difference-of-squares
pow2 frac-2neg pow-plus clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 109
Calls
4 calls:
15.0ms
(* (tan z) (tan z))
15.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))
85.0ms
(/ (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (- (tan y) (tan z)))

series578.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (tan z) (tan z))
99.0ms
(* (tan y) (tan z))
95.0ms
(* (tan y) (tan z))
344.0ms
(/ (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (- (tan y) (tan z)))

simplify63.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0453985
12183873
25002853

prune523.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite121.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:
15.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))
16.0ms
(* (tan y) (tan z))
71.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (tan y) (tan z))
101.0ms
(* (tan y) (tan z))
101.0ms
(* (tan y) (tan z))
124.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify45.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0311770
11417646
25001625

prune444.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.1b

regimes469.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
02928
12928

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.9s3901×body1280valid
841.0ms1932×body640valid
305.0ms8000×pre80true
209.0ms725×body320valid
114.0ms1158×body80valid
55.0ms284×body160valid